Package liquibase.snapshot.jvm
Class IndexSnapshotGenerator
- java.lang.Object
-
- liquibase.snapshot.jvm.JdbcSnapshotGenerator
-
- liquibase.snapshot.jvm.IndexSnapshotGenerator
-
- All Implemented Interfaces:
SnapshotGenerator
public class IndexSnapshotGenerator extends JdbcSnapshotGenerator
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 Constructor Description IndexSnapshotGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot)
protected boolean
addToViews(Database database)
protected Index
finalizeIndex(Schema schema, String tableName, Index index, DatabaseSnapshot snapshot)
protected DatabaseObject
snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot)
-
Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, getPriority, replaces, shouldAddTo, snapshot, updateListeners
-
-
-
-
Method Detail
-
addTo
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
- Specified by:
addTo
in classJdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
-
snapshotObject
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
- Specified by:
snapshotObject
in classJdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
-
finalizeIndex
protected Index finalizeIndex(Schema schema, String tableName, Index index, DatabaseSnapshot snapshot)
-
addToViews
protected boolean addToViews(Database database)
-
-