| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final DatabaseObjectCollection | |
| private final Database | |
| private final Map | |
| private static final Logger | |
| private Map | |
| private final DatabaseObject[] | |
| private final DatabaseObjectCollection | |
| private final Map | |
| private CompareControl. | |
| private final HashSet | |
| private final SnapshotControl | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DatabaseSnapshot | Returns: a new DatabaseSnapshot object with the clones of the desired objects. If no object is found, an empty DatabaseSnapshot will be returned.The array of snapshot objects to search and clone examples)Searches the current snapshot content for the given examples. |
| protected SnapshotGeneratorChain | |
| private boolean | |
| public <DatabaseObjectType extends DatabaseObject> DatabaseObjectType | get(DatabaseObjectType example)
Returns the object described by the passed example if it is already included in this snapshot. |
| public <DatabaseObjectType extends DatabaseObject> Set | |
| public Database | |
| public Map | |
| public ResultSetCache | |
| public CompareControl. | |
| public Object | getScratchData(String key)
Deprecated
Will be removed with 4.0
Used to get and store misc data that should be scoped to the snapshot. |
| public String | |
| public Set | |
| public LiquibaseSerializable. | |
| public Object | |
| public String | |
| public String | |
| public SnapshotControl | |
| protected <T extends DatabaseObject> T | |
| private void | |
| protected void | |
| private boolean | |
| protected boolean | |
| protected boolean | |
| public void | load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
Implements liquibase.
|
| protected void | loadObjects(Map<String, DatabaseObject> objectMap, Map<String, DatabaseObject> allObjects, ParsedNode node, ResourceAccessor resourceAccessor)
|
| public DatabaseSnapshot | Returns: DatabaseSnapshot Merged object modelAnother object snapshot model snapshotToMerge)Method which merges two object snapshot models into one |
| private Object | |
| public ParsedNode | |
| public void | |
| public void | |
| public Object |
| ALL_CATALOGS_STRING_SCRATCH_KEY | back to summary |
|---|---|
| public static final String ALL_CATALOGS_STRING_SCRATCH_KEY | |
| allFound | back to summary |
|---|---|
| private final DatabaseObjectCollection allFound | |
| database | back to summary |
|---|---|
| private final Database database | |
| knownNull | back to summary |
|---|---|
| private final Map<Class<? extends DatabaseObject>, Set<DatabaseObject>> knownNull | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| metadata | back to summary |
|---|---|
| private Map<String, Object> metadata | |
| originalExamples | back to summary |
|---|---|
| private final DatabaseObject[] originalExamples | |
| referencedObjects | back to summary |
|---|---|
| private final DatabaseObjectCollection referencedObjects | |
| resultSetCaches | back to summary |
|---|---|
| private final Map<String, ResultSetCache> resultSetCaches | |
| schemaComparisons | back to summary |
|---|---|
| private CompareControl. | |
| serializableFields | back to summary |
|---|---|
| private final HashSet<String> serializableFields | |
| snapshotControl | back to summary |
|---|---|
| private final SnapshotControl snapshotControl | |
| snapshotScratchPad | back to summary |
|---|---|
| private final Map<String, Object> snapshotScratchPad | |
| DatabaseSnapshot | back to summary |
|---|---|
| pack-priv DatabaseSnapshot(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException | |
| DatabaseSnapshot | back to summary |
|---|---|
| public DatabaseSnapshot(DatabaseObject[] examples, Database database) throws DatabaseException, InvalidExampleException | |
| clone | back to summary |
|---|---|
| public DatabaseSnapshot clone(DatabaseObject[] examples) Searches the current snapshot content for the given examples. Returns a new DatabaseSnapshot containing a clone of every object from the examples array that was found.
| |
| createGeneratorChain | back to summary |
|---|---|
| protected SnapshotGeneratorChain createGeneratorChain(Class<? extends DatabaseObject> databaseObjectType, Database database) | |
| descendingColumnExists | back to summary |
|---|---|
| private boolean descendingColumnExists(Collection<Column> fieldValue) | |
| get | back to summary |
|---|---|
| public <DatabaseObjectType extends DatabaseObject> DatabaseObjectType get(DatabaseObjectType example) Returns the object described by the passed example if it is already included in this snapshot. | |
| get | back to summary |
|---|---|
| public <DatabaseObjectType extends DatabaseObject> Set Returns all objects of the given type that are already included in this snapshot. | |
| getDatabase | back to summary |
|---|---|
| public Database getDatabase() | |
| getMetadata | back to summary |
|---|---|
| public Map | |
| getResultSetCache | back to summary |
|---|---|
| public ResultSetCache getResultSetCache(String key) | |
| getSchemaComparisons | back to summary |
|---|---|
| public CompareControl. | |
| getScratchData | back to summary |
|---|---|
| public Object getScratchData(String key)
Deprecated Will be removed with 4.0 Used to get and store misc data that should be scoped to the snapshot. Helpful for caching snapshot results. | |
| getSerializableFieldNamespace | back to summary |
|---|---|
| public String getSerializableFieldNamespace(String field) Implements liquibase.
| |
| getSerializableFields | back to summary |
|---|---|
| public Set Implements liquibase.
| |
| getSerializableFieldType | back to summary |
|---|---|
| public LiquibaseSerializable. Implements liquibase.
| |
| getSerializableFieldValue | back to summary |
|---|---|
| public Object getSerializableFieldValue(String field) Implements liquibase.
| |
| getSerializedObjectName | back to summary |
|---|---|
| public String getSerializedObjectName() Implements liquibase.
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Implements liquibase.
| |
| getSnapshotControl | back to summary |
|---|---|
| public SnapshotControl getSnapshotControl() | |
| include | back to summary |
|---|---|
| protected <T extends DatabaseObject> T include(T example) throws DatabaseException, InvalidExampleException Include the object described by the passed example object in this snapshot. Returns the object snapshot or null if the object does not exist in the database. If the same object was returned by an earlier include() call, the same object instance will be returned. | |
| includeNestedObjects | back to summary |
|---|---|
| private void includeNestedObjects(DatabaseObject object) throws DatabaseException, InvalidExampleException, ReflectiveOperationException | |
| init | back to summary |
|---|---|
| protected void init(DatabaseObject[] examples) throws DatabaseException, InvalidExampleException | |
| isKnownNull | back to summary |
|---|---|
| private boolean isKnownNull(DatabaseObject example) | |
| isWrongCatalog | back to summary |
|---|---|
| protected boolean isWrongCatalog(DatabaseObject fieldValue) | |
| isWrongSchema | back to summary |
|---|---|
| protected boolean isWrongSchema(DatabaseObject fieldValue) | |
| load | back to summary |
|---|---|
| public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Implements liquibase.
| |
| loadObjects | back to summary |
|---|---|
| protected void loadObjects(Map<String, DatabaseObject> objectMap, Map<String, DatabaseObject> allObjects, ParsedNode node, ResourceAccessor resourceAccessor) throws ReflectiveOperationException, ParsedNodeException | |
| merge | back to summary |
|---|---|
| public DatabaseSnapshot merge(DatabaseSnapshot snapshotToMerge) Method which merges two object snapshot models into one
| |
| replaceObject | back to summary |
|---|---|
| private Object replaceObject(Object fieldValue) throws DatabaseException, InvalidExampleException, ReflectiveOperationException | |
| serialize | back to summary |
|---|---|
| public ParsedNode serialize() Implements liquibase.
| |
| setMetadata | back to summary |
|---|---|
| public void setMetadata(Map<String, Object> metadata) | |
| setSchemaComparisons | back to summary |
|---|---|
| public void setSchemaComparisons(CompareControl. | |
| setScratchData | back to summary |
|---|---|
| public Object setScratchData(String key, Object data) | |