Package tech.ydb.liquibase.snapshot
Class UniqueConstraintSnapshotGeneratorYdb
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
tech.ydb.liquibase.snapshot.UniqueConstraintSnapshotGeneratorYdb
- All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator
public class UniqueConstraintSnapshotGeneratorYdb
extends liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
- Author:
- Kirill Kurdyukov
-
Field Summary
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database) protected List<liquibase.snapshot.CachedRow>listConstraints(liquibase.structure.core.Table table, liquibase.snapshot.DatabaseSnapshot snapshot, liquibase.structure.core.Schema schema) Class<? extends liquibase.snapshot.SnapshotGenerator>[]replaces()Methods inherited from class liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
addTo, getCacheKey, getCacheKey, includeTableNameInCacheKey, listColumns, snapshotObject, supportsBulkQueryMethods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, shouldAddTo, snapshot, updateListeners
-
Constructor Details
-
UniqueConstraintSnapshotGeneratorYdb
public UniqueConstraintSnapshotGeneratorYdb()
-
-
Method Details
-
getPriority
public int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database) - Specified by:
getPriorityin interfaceliquibase.snapshot.SnapshotGenerator- Overrides:
getPriorityin classliquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
-
replaces
- Specified by:
replacesin interfaceliquibase.snapshot.SnapshotGenerator- Overrides:
replacesin classliquibase.snapshot.jvm.JdbcSnapshotGenerator
-
listConstraints
protected List<liquibase.snapshot.CachedRow> listConstraints(liquibase.structure.core.Table table, liquibase.snapshot.DatabaseSnapshot snapshot, liquibase.structure.core.Schema schema) - Overrides:
listConstraintsin classliquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
-