| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Boolean | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private Boolean | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| public SqlStatement[] | generateStatements(Database database)
Implements liquibase. Generates the |
| public String | |
| public Boolean | |
| public String | |
| public String | getConfirmationMessage()
Implements liquibase. Confirmation message to be displayed after the change is executed. |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public Boolean | Returns: true if ENABLE VALIDATE (this is the default), or false if ENABLE NOVALIDATE.the VALIDATE keyword defines whether a primary key constraint on a column in a table should be checked if it 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 | 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 primary keys - only new data would be checked
to see if it complies with the constraint logic. The default state for primary keys is to
have 'ENABLE VALIDATE' set. shouldValidate)
|
| catalogName | back to summary |
|---|---|
| private String catalogName | |
| clustered | back to summary |
|---|---|
| private Boolean clustered | |
| columnNames | back to summary |
|---|---|
| private String columnNames | |
| constraintName | back to summary |
|---|---|
| private String constraintName | |
| forIndexCatalogName | back to summary |
|---|---|
| private String forIndexCatalogName | |
| forIndexName | back to summary |
|---|---|
| private String forIndexName | |
| forIndexSchemaName | back to summary |
|---|---|
| private String forIndexSchemaName | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| shouldValidate | back to summary |
|---|---|
| private Boolean shouldValidate | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| tablespace | back to summary |
|---|---|
| private String tablespace | |
| AddPrimaryKeyChange | back to summary |
|---|---|
| public AddPrimaryKeyChange() | |
| 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 | |
| generateStatements | back to summary |
|---|---|
| public SqlStatement[] generateStatements(Database database) Implements liquibase. Doc from liquibase. Generates the generateStatementsVolatile.
| |
| getCatalogName | back to summary |
|---|---|
public String getCatalogName()
| |
| getClustered | back to summary |
|---|---|
public Boolean getClustered()
| |
| getColumnNames | back to summary |
|---|---|
public String getColumnNames()
| |
| 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()
| |
| getForIndexCatalogName | back to summary |
|---|---|
public String getForIndexCatalogName()
| |
| getForIndexName | back to summary |
|---|---|
public String getForIndexName()
| |
| getForIndexSchemaName | back to summary |
|---|---|
public String getForIndexSchemaName()
| |
| getSchemaName | back to summary |
|---|---|
public String getSchemaName()
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Overrides liquibase. Implements liquibase.
| |
| getTableName | back to summary |
|---|---|
public String getTableName()
| |
| getTablespace | back to summary |
|---|---|
public String getTablespace()
| |
| getValidate | back to summary |
|---|---|
| public Boolean getValidate() the VALIDATE keyword defines whether a primary key constraint on a column in a table should be checked if it refers to a valid row or not.
| |
| setCatalogName | back to summary |
|---|---|
| public void setCatalogName(String catalogName) | |
| setClustered | back to summary |
|---|---|
| public void setClustered(Boolean clustered) | |
| setColumnNames | back to summary |
|---|---|
| public void setColumnNames(String columnNames) | |
| setConstraintName | back to summary |
|---|---|
| public void setConstraintName(String constraintName) | |
| setForIndexCatalogName | back to summary |
|---|---|
| public void setForIndexCatalogName(String forIndexCatalogName) | |
| setForIndexName | back to summary |
|---|---|
| public void setForIndexName(String forIndexName) | |
| setForIndexSchemaName | back to summary |
|---|---|
| public void setForIndexSchemaName(String forIndexSchemaName) | |
| setSchemaName | back to summary |
|---|---|
| public void setSchemaName(String schemaName) | |
| setTableName | back to summary |
|---|---|
| public void setTableName(String tableName) | |
| setTablespace | back to summary |
|---|---|
| public void setTablespace(String tablespace) | |
| setValidate | back to summary |
|---|---|
public void setValidate(Boolean shouldValidate)
| |