| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private Boolean | |
| private Boolean | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public ChangeStatus | checkStatus(Database database)
Overrides liquibase. Implements liquibase. Validate that this change executed successfully against the given database. |
| protected Change[] | createInverses()
Overrides liquibase. Create inverse changes that can roll back this change. |
| protected String[] | createSupportedDatabasesMetaData(String parameterName, DatabaseChangeProperty changePropertyAnnotation)
Overrides liquibase. Create the |
| public SqlStatement[] | generateStatements(Database database)
Implements liquibase. Generates the |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | getConfirmationMessage()
Implements liquibase. Confirmation message to be displayed after the change is executed. |
| public String | |
| public Boolean | |
| public Boolean | |
| public Boolean | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public Boolean | |
| public String | |
| public Boolean | Returns: true if ENABLE VALIDATE (this is the default), or false if ENABLE NOVALIDATE.the VALIDATE keyword defines whether to check if a foreign key constraint on a column in a table refers to a valid row or not. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setValidate(Boolean
- if shouldValidate is set to FALSE then the constraint will be created
with the 'ENABLE NOVALIDATE' mode. This means the constraint would be created, but that no
check will be done to ensure old data has valid foreign keys - only new data would be checked
to see if it complies with the constraint logic. The default state for foreign keys is to
have 'ENABLE VALIDATE' set. shouldValidate)
|
| baseColumnNames | back to summary |
|---|---|
| private String baseColumnNames | |
| baseTableCatalogName | back to summary |
|---|---|
| private String baseTableCatalogName | |
| baseTableName | back to summary |
|---|---|
| private String baseTableName | |
| baseTableSchemaName | back to summary |
|---|---|
| private String baseTableSchemaName | |
| constraintName | back to summary |
|---|---|
| private String constraintName | |
| deferrable | back to summary |
|---|---|
| private Boolean deferrable | |
| initiallyDeferred | back to summary |
|---|---|
| private Boolean initiallyDeferred | |
| onDelete | back to summary |
|---|---|
| private String onDelete | |
| onUpdate | back to summary |
|---|---|
| private String onUpdate | |
| referencedColumnNames | back to summary |
|---|---|
| private String referencedColumnNames | |
| referencedTableCatalogName | back to summary |
|---|---|
| private String referencedTableCatalogName | |
| referencedTableName | back to summary |
|---|---|
| private String referencedTableName | |
| referencedTableSchemaName | back to summary |
|---|---|
| private String referencedTableSchemaName | |
| shouldValidate | back to summary |
|---|---|
| private Boolean shouldValidate | |
| AddForeignKeyConstraintChange | back to summary |
|---|---|
| public AddForeignKeyConstraintChange() | |
| checkDefferable | back to summary |
|---|---|
| private boolean checkDefferable(Database database) | |
| checkStatus | back to summary |
|---|---|
| public ChangeStatus checkStatus(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Validate that this change executed successfully against the given database. This will check that the update completed at a high level plus check details of the change. For example, a change to add a column will check that the column exists plus data type, default values, etc.
| |
| createInverses | back to summary |
|---|---|
| protected Change[] createInverses() Overrides liquibase. Doc from liquibase. Create inverse changes that can roll back this change. This method is intended to be overridden by Change implementations that have a logical inverse operation. Default implementation returns null.
If | |
| createSupportedDatabasesMetaData | back to summary |
|---|---|
| protected String[] createSupportedDatabasesMetaData(String parameterName, DatabaseChangeProperty changePropertyAnnotation) Overrides liquibase. Doc from liquibase. Create the
| |
| generateStatements | back to summary |
|---|---|
| public SqlStatement[] generateStatements(Database database) Implements liquibase. Doc from liquibase. Generates the generateStatementsVolatile.
| |
| getBaseColumnNames | back to summary |
|---|---|
public String getBaseColumnNames()
| |
| getBaseTableCatalogName | back to summary |
|---|---|
public String getBaseTableCatalogName()
| |
| getBaseTableName | back to summary |
|---|---|
public String getBaseTableName()
| |
| getBaseTableSchemaName | back to summary |
|---|---|
public String getBaseTableSchemaName()
| |
| getConfirmationMessage | back to summary |
|---|---|
| public String getConfirmationMessage() Implements liquibase. Doc from liquibase. Confirmation message to be displayed after the change is executed. Should include relevant configuration settings to make it as helpful as possible. This method may be called outside the changelog execution process, such as in documentation generation.
| |
| getConstraintName | back to summary |
|---|---|
public String getConstraintName()
| |
| getDeferrable | back to summary |
|---|---|
public Boolean getDeferrable()
| |
| getDeleteCascade | back to summary |
|---|---|
| public Boolean getDeleteCascade()
Deprecated Use
| |
| getInitiallyDeferred | back to summary |
|---|---|
public Boolean getInitiallyDeferred()
| |
| getOnDelete | back to summary |
|---|---|
public String getOnDelete()
| |
| getOnUpdate | back to summary |
|---|---|
public String getOnUpdate()
| |
| getReferencedColumnNames | back to summary |
|---|---|
public String getReferencedColumnNames()
| |
| getReferencedTableCatalogName | back to summary |
|---|---|
public String getReferencedTableCatalogName()
| |
| getReferencedTableName | back to summary |
|---|---|
public String getReferencedTableName()
| |
| getReferencedTableSchemaName | back to summary |
|---|---|
public String getReferencedTableSchemaName()
| |
| getReferencesUniqueColumn | back to summary |
|---|---|
| public Boolean getReferencesUniqueColumn()
Deprecated No longer supported in 3.0
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Overrides liquibase. Implements liquibase.
| |
| getValidate | back to summary |
|---|---|
| public Boolean getValidate() the VALIDATE keyword defines whether to check if a foreign key constraint on a column in a table refers to a valid row or not.
| |
| setBaseColumnNames | back to summary |
|---|---|
| public void setBaseColumnNames(String baseColumnNames) | |
| setBaseTableCatalogName | back to summary |
|---|---|
| public void setBaseTableCatalogName(String baseTableCatalogName) | |
| setBaseTableName | back to summary |
|---|---|
| public void setBaseTableName(String baseTableName) | |
| setBaseTableSchemaName | back to summary |
|---|---|
| public void setBaseTableSchemaName(String baseTableSchemaName) | |
| setConstraintName | back to summary |
|---|---|
| public void setConstraintName(String constraintName) | |
| setDeferrable | back to summary |
|---|---|
| public void setDeferrable(Boolean deferrable) | |
| setDeleteCascade | back to summary |
|---|---|
| public void setDeleteCascade(Boolean deleteCascade) | |
| setInitiallyDeferred | back to summary |
|---|---|
| public void setInitiallyDeferred(Boolean initiallyDeferred) | |
| setOnDelete | back to summary |
|---|---|
| public void setOnDelete(String onDelete) | |
| setOnDelete | back to summary |
|---|---|
| public void setOnDelete(ForeignKeyConstraintType rule) | |
| setOnUpdate | back to summary |
|---|---|
| public void setOnUpdate(String rule) | |
| setOnUpdate | back to summary |
|---|---|
| public void setOnUpdate(ForeignKeyConstraintType rule) | |
| setReferencedColumnNames | back to summary |
|---|---|
| public void setReferencedColumnNames(String referencedColumnNames) | |
| setReferencedTableCatalogName | back to summary |
|---|---|
| public void setReferencedTableCatalogName(String referencedTableCatalogName) | |
| setReferencedTableName | back to summary |
|---|---|
| public void setReferencedTableName(String referencedTableName) | |
| setReferencedTableSchemaName | back to summary |
|---|---|
| public void setReferencedTableSchemaName(String referencedTableSchemaName) | |
| setReferencesUniqueColumn | back to summary |
|---|---|
| public void setReferencesUniqueColumn(Boolean referencesUniqueColumn) | |
| setValidate | back to summary |
|---|---|
public void setValidate(Boolean shouldValidate)
| |