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, supportsBulkQuery
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, shouldAddTo, snapshot, updateListeners
public UniqueConstraintSnapshotGeneratorSnowflake()
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)
SnapshotGenerator
getPriority
in interface SnapshotGenerator
getPriority
in class UniqueConstraintSnapshotGenerator
objectType
- The object type we are asked to snapshotdatabase
- The DBMS for which the snapshotting should be donepublic Class<? extends SnapshotGenerator>[] replaces()
SnapshotGenerator
replaces
in interface SnapshotGenerator
replaces
in class JdbcSnapshotGenerator
protected List<CachedRow> listConstraints(Table table, DatabaseSnapshot snapshot, Schema schema) throws DatabaseException, SQLException
listConstraints
in class UniqueConstraintSnapshotGenerator
DatabaseException
SQLException
protected List<Map<String,?>> listColumns(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) throws DatabaseException
listColumns
in class UniqueConstraintSnapshotGenerator
DatabaseException
Copyright © 2023 Liquibase.org. All rights reserved.