Uses of Class
liquibase.snapshot.DatabaseSnapshot
Package
Description
-
Uses of DatabaseSnapshot in liquibase.command.core
Modifier and TypeMethodDescriptionprotected DatabaseSnapshot
DiffCommandStep.createReferenceSnapshot
(CommandResultsBuilder resultsBuilder) protected DatabaseSnapshot
DiffCommandStep.getTargetSnapshot
(CommandResultsBuilder resultsBuilder) -
Uses of DatabaseSnapshot in liquibase.database
Modifier and TypeMethodDescriptionOfflineConnection.getSnapshot
(DatabaseObject[] examples) Returns a copy of the current simulated content of the database, filtered by the given array.Modifier and TypeMethodDescriptionvoid
OfflineConnection.setSnapshot
(DatabaseSnapshot snapshot) For debugging purposes: sets a DatabaseSnapshot object for this connection. -
Uses of DatabaseSnapshot in liquibase.diff
Modifier and TypeMethodDescriptionDiffResult.getComparisonSnapshot()
DiffResult.getReferenceSnapshot()
Modifier and TypeMethodDescriptionDiffGenerator.compare
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) DiffGeneratorFactory.compare
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) ModifierConstructorDescriptionDiffResult
(DatabaseSnapshot referenceDatabaseSnapshot, DatabaseSnapshot comparisonDatabaseSnapshot, CompareControl compareControl) -
Uses of DatabaseSnapshot in liquibase.diff.core
Modifier and TypeMethodDescriptionprotected void
StandardDiffGenerator.checkVersionInfo
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) StandardDiffGenerator.compare
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) protected <T extends DatabaseObject>
voidStandardDiffGenerator.compareObjectType
(Class<T> type, DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) -
Uses of DatabaseSnapshot in liquibase.parser
Modifier and TypeMethodDescriptionSnapshotParser.parse
(String path, ResourceAccessor resourceAccessor) -
Uses of DatabaseSnapshot in liquibase.parser.core.yaml
Modifier and TypeMethodDescriptionYamlSnapshotParser.parse
(String path, ResourceAccessor resourceAccessor) -
Uses of DatabaseSnapshot in liquibase.serializer
Modifier and TypeMethodDescriptionvoid
SnapshotSerializer.write
(DatabaseSnapshot snapshot, OutputStream out) -
Uses of DatabaseSnapshot in liquibase.serializer.core.string
Modifier and TypeMethodDescriptionvoid
StringSnapshotSerializer.write
(DatabaseSnapshot snapshot, OutputStream out) void
StringSnapshotSerializerReadable.write
(DatabaseSnapshot snapshot, OutputStream out) -
Uses of DatabaseSnapshot in liquibase.serializer.core.yaml
Modifier and TypeMethodDescriptionvoid
YamlSnapshotSerializer.write
(DatabaseSnapshot snapshot, OutputStream out) -
Uses of DatabaseSnapshot in liquibase.snapshot
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionDatabaseSnapshot.clone
(DatabaseObject[] examples) Searches the current snapshot content for the given examples.SnapshotGeneratorFactory.createSnapshot
(CatalogAndSchema[] examples, Database database, SnapshotControl snapshotControl) Creates a database snapshot for a given array of catalog/schema combinations.SnapshotGeneratorFactory.createSnapshot
(CatalogAndSchema example, Database database, SnapshotControl snapshotControl) SnapshotGeneratorFactory.createSnapshot
(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) Creates a database snapshot for a given array of DatabaseObjectsDatabaseSnapshot.merge
(DatabaseSnapshot snapshotToMerge) Method which merges two object snapshot models into oneModifier and TypeMethodDescriptionDatabaseSnapshot.merge
(DatabaseSnapshot snapshotToMerge) Method which merges two object snapshot models into one<T extends DatabaseObject>
TSnapshotGenerator.snapshot
(T example, DatabaseSnapshot snapshot, SnapshotGeneratorChain chain) Commands the SnapshotGenerator to create a snapshot (a representation of a database object in Java object form) of a specific database object.<T extends DatabaseObject>
TSnapshotGeneratorChain.snapshot
(T example, DatabaseSnapshot snapshot) This calls all the non-replacedSnapshotGenerator
in the chain, by comparison order Only the first generator in the chain is allowed to create a new instance of T Subsequent generators must modify the instance or call the chain if the provided object is not handled, otherwise aDatabaseException
is thrown -
Uses of DatabaseSnapshot in liquibase.snapshot.jvm
Modifier and TypeMethodDescriptionprotected void
CatalogSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
ColumnSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
DataSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
ForeignKeySnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
IndexSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected abstract void
JdbcSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
PrimaryKeySnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
SchemaSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
SequenceSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
TableSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
UniqueConstraintSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected void
ViewSnapshotGenerator.addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected Index
IndexSnapshotGenerator.finalizeIndex
(Schema schema, String tableName, Index index, DatabaseSnapshot snapshot) UniqueConstraintSnapshotGenerator.listColumns
(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) UniqueConstraintSnapshotGeneratorSnowflake.listColumns
(UniqueConstraint example, Database database, DatabaseSnapshot snapshot) UniqueConstraintSnapshotGenerator.listConstraints
(Table table, DatabaseSnapshot snapshot, Schema schema) UniqueConstraintSnapshotGeneratorSnowflake.listConstraints
(Table table, DatabaseSnapshot snapshot, Schema schema) ColumnAutoIncrementService.obtainSequencesInformation
(Database database, Schema schema, DatabaseSnapshot snapshot) If the database support autoincrement columns details (as starts with and increment by), this method returns the detailed information about them.protected void
ColumnSnapshotGenerator.setAutoIncrementDetails
(Column column, Database database, DatabaseSnapshot snapshot) protected boolean
JdbcSnapshotGenerator.shouldAddTo
(Class<? extends DatabaseObject> databaseObjectType, DatabaseSnapshot snapshot) JdbcSnapshotGenerator.snapshot
(DatabaseObject example, DatabaseSnapshot snapshot, SnapshotGeneratorChain chain) protected DatabaseObject
CatalogSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
ColumnSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
DataSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
ForeignKeySnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
IndexSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected abstract DatabaseObject
JdbcSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
PrimaryKeySnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
SchemaSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
SequenceSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
TableSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
UniqueConstraintSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) protected DatabaseObject
ViewSnapshotGenerator.snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) ModifierConstructorDescriptionSnowflakeResultSetConstraintsExtractor
(DatabaseSnapshot databaseSnapshot, String catalogName, String schemaName, String tableName)