Package liquibase.ext.redshift.snapshot
Class ForeignKeySnapshotGenerator
- java.lang.Object
-
- liquibase.snapshot.jvm.JdbcSnapshotGenerator
-
- liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
-
- liquibase.ext.redshift.snapshot.ForeignKeySnapshotGenerator
-
- All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator
public class ForeignKeySnapshotGenerator extends liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
-
-
Field Summary
-
Fields inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
METADATA_DEFERRABILITY, METADATA_DELETE_RULE, METADATA_FKCOLUMN_NAME, METADATA_FKTABLE_CAT, METADATA_FKTABLE_NAME, METADATA_FKTABLE_SCHEM, METADATA_PKCOLUMN_NAME, METADATA_PKTABLE_CAT, METADATA_PKTABLE_NAME, METADATA_PKTABLE_SCHEM, METADATA_UPDATE_RULE
-
-
Constructor Summary
Constructors Constructor Description ForeignKeySnapshotGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot)intgetPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)Class<? extends liquibase.snapshot.SnapshotGenerator>[]replaces()protected liquibase.structure.DatabaseObjectsnapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot)-
Methods inherited from class liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
convertToForeignKeyConstraintType
-
-
-
-
Method Detail
-
getPriority
public int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)
- Specified by:
getPriorityin interfaceliquibase.snapshot.SnapshotGenerator- Overrides:
getPriorityin classliquibase.snapshot.jvm.JdbcSnapshotGenerator
-
addTo
protected void addTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot) throws liquibase.exception.DatabaseException, liquibase.snapshot.InvalidExampleException- Overrides:
addToin classliquibase.snapshot.jvm.ForeignKeySnapshotGenerator- Throws:
liquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleException
-
replaces
public Class<? extends liquibase.snapshot.SnapshotGenerator>[] replaces()
- Specified by:
replacesin interfaceliquibase.snapshot.SnapshotGenerator- Overrides:
replacesin classliquibase.snapshot.jvm.JdbcSnapshotGenerator
-
snapshotObject
protected liquibase.structure.DatabaseObject snapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot) throws liquibase.exception.DatabaseException, liquibase.snapshot.InvalidExampleException- Overrides:
snapshotObjectin classliquibase.snapshot.jvm.ForeignKeySnapshotGenerator- Throws:
liquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleException
-
-