public class DropIndexChange extends AbstractChange
LiquibaseSerializable.SerializationTypeGENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
DropIndexChange() |
| Modifier and Type | Method and Description |
|---|---|
ChangeStatus |
checkStatus(Database database)
Validate that this change executed successfully against the given database.
|
SqlStatement[] |
generateStatements(Database database)
Generates the
SqlStatement objects required to run the change for the given database. |
String |
getAssociatedWith() |
String |
getCatalogName() |
String |
getConfirmationMessage()
Confirmation message to be displayed after the change is executed.
|
String |
getIndexName() |
String |
getSchemaName() |
String |
getSerializedObjectNamespace() |
String |
getTableName() |
void |
setAssociatedWith(String associatedWith) |
void |
setCatalogName(String catalogName) |
void |
setIndexName(String indexName) |
void |
setSchemaName(String schemaName) |
void |
setTableName(String tableName) |
createChangeMetaData, createChangeParameterMetadata, createDescriptionMetaData, createEmptyColumnConfig, createExampleValueMetaData, createInverses, createMustEqualExistingMetaData, createRequiredDatabasesMetaData, createSerializationTypeMetaData, createSinceMetaData, createSupportedDatabasesMetaData, customLoadLogic, finishInitialization, generateCheckSum, generateRollbackStatements, generateRollbackStatementsVolatile, generateStatementsVolatile, getAffectedDatabaseObjects, getChangeSet, getDescription, getResourceAccessor, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, isInvalidProperty, load, serialize, serializeValue, setChangeSet, setResourceAccessor, supports, supportsRollback, toString, validate, warnpublic String getSchemaName()
public void setSchemaName(String schemaName)
public String getIndexName()
public void setIndexName(String indexName)
public String getTableName()
public void setTableName(String tableName)
public SqlStatement[] generateStatements(Database database)
ChangeSqlStatement objects required to run the change for the given database.
NOTE: This method may be called multiple times throughout the changelog execution process and may be called in documentation generation and other integration points as well.
If this method reads from the current database state or uses any other logic that will be affected by whether previous changeSets have ran or not, you must return true from Change.generateStatementsVolatile(liquibase.database.Database).public ChangeStatus checkStatus(Database database)
ChangecheckStatus in interface ChangecheckStatus in class AbstractChangepublic String getConfirmationMessage()
Changepublic String getAssociatedWith()
public void setAssociatedWith(String associatedWith)
public String getCatalogName()
public void setCatalogName(String catalogName)
public String getSerializedObjectNamespace()
getSerializedObjectNamespace in interface LiquibaseSerializablegetSerializedObjectNamespace in class AbstractChangeCopyright © 2018 Liquibase.org. All rights reserved.