public class UniqueConstraintSnapshotGeneratorSnowflake extends UniqueConstraintSnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE| Constructor and Description |
|---|
UniqueConstraintSnapshotGeneratorSnowflake() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority(Class<? extends DatabaseObject> objectType,
Database database)
Inquire if this SnapshotGenerator is capable of snapshotting objects of type
objectType (e.g.
|
protected List<Map<String,?>> |
listColumns(UniqueConstraint example,
Database database,
DatabaseSnapshot snapshot) |
protected List<CachedRow> |
listConstraints(Table table,
DatabaseSnapshot snapshot,
Schema schema) |
Class<? extends SnapshotGenerator>[] |
replaces()
Returns classes (and superclasses) that this SnapshotGenerator replaces.
|
addTo, getCacheKey, getCacheKey, includeTableNameInCacheKey, snapshotObject, supportsBulkQueryaddStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, shouldAddTo, snapshot, updateListenerspublic UniqueConstraintSnapshotGeneratorSnowflake()
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)
SnapshotGeneratorgetPriority in interface SnapshotGeneratorgetPriority in class UniqueConstraintSnapshotGeneratorobjectType - The object type we are asked to snapshotdatabase - The DBMS for which the snapshotting should be donepublic Class<? extends SnapshotGenerator>[] replaces()
SnapshotGeneratorreplaces in interface SnapshotGeneratorreplaces in class JdbcSnapshotGeneratorprotected List<CachedRow> listConstraints(Table table, DatabaseSnapshot snapshot, Schema schema) throws DatabaseException, SQLException
listConstraints in class UniqueConstraintSnapshotGeneratorDatabaseExceptionSQLExceptionprotected List<Map<String,?>> listColumns(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) throws DatabaseException
listColumns in class UniqueConstraintSnapshotGeneratorDatabaseExceptionCopyright © 2023 Liquibase.org. All rights reserved.