Package liquibase.snapshot.jvm
Class IndexSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.IndexSnapshotGenerator
- All Implemented Interfaces:
SnapshotGenerator
Analyses the properties of a database index and creates an object representation ("snapshot").
-
Field Summary
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected booleanaddToViews(Database database) protected IndexfinalizeIndex(Schema schema, String tableName, Index index, DatabaseSnapshot snapshot) protected DatabaseObjectsnapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, getPriority, replaces, shouldAddTo, snapshot, updateListeners
-
Constructor Details
-
IndexSnapshotGenerator
public IndexSnapshotGenerator()
-
-
Method Details
-
addTo
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException - Specified by:
addToin classJdbcSnapshotGenerator- Throws:
DatabaseExceptionInvalidExampleException
-
snapshotObject
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException - Specified by:
snapshotObjectin classJdbcSnapshotGenerator- Throws:
DatabaseExceptionInvalidExampleException
-
finalizeIndex
protected Index finalizeIndex(Schema schema, String tableName, Index index, DatabaseSnapshot snapshot) -
addToViews
-