public class UniqueConstraintSnapshotGenerator extends JdbcSnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE| Constructor and Description |
|---|
UniqueConstraintSnapshotGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot) |
int |
getPriority(java.lang.Class<? extends DatabaseObject> objectType,
Database database) |
protected java.util.List<java.util.Map> |
listColumns(UniqueConstraint example,
Database database) |
protected java.util.List<CachedRow> |
listConstraints(Table table,
DatabaseSnapshot snapshot,
Schema schema) |
protected DatabaseObject |
snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot) |
addStatusListener, addsTo, cleanNameFromDatabase, shouldAddTo, snapshot, updateListenerspublic int getPriority(java.lang.Class<? extends DatabaseObject> objectType, Database database)
getPriority in interface SnapshotGeneratorgetPriority in class JdbcSnapshotGeneratorprotected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
snapshotObject in class JdbcSnapshotGeneratorDatabaseExceptionInvalidExampleExceptionprotected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
addTo in class JdbcSnapshotGeneratorDatabaseExceptionInvalidExampleExceptionprotected java.util.List<CachedRow> listConstraints(Table table, DatabaseSnapshot snapshot, Schema schema) throws DatabaseException, java.sql.SQLException
DatabaseExceptionjava.sql.SQLExceptionprotected java.util.List<java.util.Map> listColumns(UniqueConstraint example, Database database) throws DatabaseException
DatabaseException