public class ForeignKeySnapshotGenerator extends JdbcSnapshotGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static String |
METADATA_DEFERRABILITY |
static String |
METADATA_DELETE_RULE |
static String |
METADATA_FKCOLUMN_NAME |
static String |
METADATA_FKTABLE_CAT |
static String |
METADATA_FKTABLE_NAME |
static String |
METADATA_FKTABLE_SCHEM |
static String |
METADATA_PKCOLUMN_NAME |
static String |
METADATA_PKTABLE_CAT |
static String |
METADATA_PKTABLE_NAME |
static String |
METADATA_PKTABLE_SCHEM |
static String |
METADATA_UPDATE_RULE |
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE| Constructor and Description |
|---|
ForeignKeySnapshotGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot) |
protected ForeignKeyConstraintType |
convertToForeignKeyConstraintType(Integer jdbcType,
Database database) |
protected DatabaseObject |
snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot) |
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, getPriority, replaces, shouldAddTo, snapshot, updateListenersprotected static final String METADATA_DEFERRABILITY
public static final String METADATA_FKTABLE_CAT
public static final String METADATA_FKTABLE_SCHEM
public static final String METADATA_FKTABLE_NAME
public static final String METADATA_FKCOLUMN_NAME
public static final String METADATA_PKTABLE_CAT
public static final String METADATA_PKTABLE_SCHEM
public static final String METADATA_PKTABLE_NAME
public static final String METADATA_PKCOLUMN_NAME
public static final String METADATA_UPDATE_RULE
public static final String METADATA_DELETE_RULE
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
addTo in class JdbcSnapshotGeneratorDatabaseExceptionInvalidExampleExceptionprotected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
snapshotObject in class JdbcSnapshotGeneratorDatabaseExceptionInvalidExampleExceptionprotected ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType, Database database) throws DatabaseException
DatabaseExceptionCopyright © 2019 Liquibase.org. All rights reserved.