Top Description Fields Constructors Methods
liquibase.change.core

public abstract Class AbstractModifyDataChange

extends AbstractChange
Class Inheritance
Known Direct Subclasses
liquibase.change.core.DeleteDataChange, liquibase.change.core.UpdateDataChange
Imports
liquibase.change.AbstractChange, .ColumnConfig, .DatabaseChangeProperty, java.util.ArrayList, .List

Encapsulates common fields for update and delete changes.

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String
protected String
protected List<ColumnConfig>
Inherited from liquibase.change.AbstractChange:
NODENAME_COLUMN

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public String
public String
public String
public String
public String
getWhereClause()
Deprecated use getWhere().

public List<ColumnConfig>
public void
public void
setCatalogName(String catalogName)

public void
setSchemaName(String schemaName)

public void
setTableName(String tableName)

public void
public void
setWhereClause(String where)
Deprecated use setWhere()

Inherited from liquibase.change.AbstractChange:
checkStatuscreateChangeMetaDatacreateChangeParameterMetadatacreateDescriptionMetaDatacreateEmptyColumnConfigcreateExampleValueMetaDatacreateInversescreateMustEqualExistingMetaDatacreateRequiredDatabasesMetaDatacreateSerializationTypeMetaDatacreateSinceMetaDatacreateSupportedDatabasesMetaDatacustomLoadLogicequalsfinishInitializationgenerateCheckSumgenerateRollbackStatementsgenerateRollbackStatementsVolatilegenerateStatementsVolatilegetAffectedDatabaseObjectsgetChangeSetgetDescriptiongetExcludedFieldFiltersgetResourceAccessorgetSerializableFieldNamespacegetSerializableFieldsgetSerializableFieldTypegetSerializableFieldValuegetSerializedObjectNamegetSerializedObjectNamespacehashCodeisInvalidPropertyloadmodifyserializeserializeValuesetChangeSetsetResourceAccessorshouldExecuteChangesupportssupportsRollbacktoStringvalidatewarn

Field Detail

catalogNameback to summary
protected String catalogName
schemaNameback to summary
protected String schemaName
tableNameback to summary
protected String tableName
whereback to summary
protected String where
whereParamsback to summary
protected List<ColumnConfig> whereParams

Constructor Detail

AbstractModifyDataChangeback to summary
public AbstractModifyDataChange()

Method Detail

addWhereParamback to summary
public void addWhereParam(ColumnConfig param)
getCatalogNameback to summary
public String getCatalogName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:table.catalog
description:Name of the database catalog
getSchemaNameback to summary
public String getSchemaName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:table.schema
description:Name of the database schema
getTableNameback to summary
public String getTableName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:table
description:Name of the table
getWhereback to summary
public String getWhere()
Annotations
@DatabaseChangeProperty
serializationType:NESTED_OBJECT
exampleValue:name=\'Bob\'
description:SQL WHERE condition string
getWhereClauseback to summary
public String getWhereClause()

Deprecated

use getWhere().

Annotations
@DatabaseChangeProperty
isChangeProperty:false
description:Deprecated. Use \'where\'
getWhereParamsback to summary
public List<ColumnConfig> getWhereParams()
Annotations
@DatabaseChangeProperty
description:Parameters for the "where" condition. Inserted in place of the :name and :value placeholders in the WHERE clause. If multiple, inserted in the order they are defined.
removeWhereParamback to summary
public void removeWhereParam(ColumnConfig param)
setCatalogNameback to summary
public void setCatalogName(String catalogName)
setSchemaNameback to summary
public void setSchemaName(String schemaName)
setTableNameback to summary
public void setTableName(String tableName)
setWhereback to summary
public void setWhere(String where)
setWhereClauseback to summary
public void setWhereClause(String where)

Deprecated

use setWhere()