public class DeleteDataChange extends AbstractModifyDataChange
LiquibaseSerializable.SerializationTypecatalogName, schemaName, tableName, where, whereParamsGENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
DeleteDataChange() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customLoadLogic(ParsedNode parsedNode,
ResourceAccessor resourceAccessor) |
SqlStatement[] |
generateStatements(Database database)
Generates the
SqlStatement objects required to run the change for the given database. |
String |
getConfirmationMessage()
Confirmation message to be displayed after the change is executed.
|
String |
getSerializedObjectNamespace() |
addWhereParam, getCatalogName, getSchemaName, getTableName, getWhere, getWhereClause, getWhereParams, removeWhereParam, setCatalogName, setSchemaName, setTableName, setWhere, setWhereClausecheckStatus, createChangeMetaData, createChangeParameterMetadata, createDescriptionMetaData, createEmptyColumnConfig, createExampleValueMetaData, createInverses, createMustEqualExistingMetaData, createRequiredDatabasesMetaData, createSerializationTypeMetaData, createSinceMetaData, createSupportedDatabasesMetaData, 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 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 String getConfirmationMessage()
Changepublic String getSerializedObjectNamespace()
getSerializedObjectNamespace in interface LiquibaseSerializablegetSerializedObjectNamespace in class AbstractChangeprotected void customLoadLogic(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException
customLoadLogic in class AbstractChangeParsedNodeExceptionCopyright © 2018 Liquibase.org. All rights reserved.