Package liquibase.change.core
Class LoadDataColumnConfig
- java.lang.Object
-
- liquibase.serializer.AbstractLiquibaseSerializable
-
- liquibase.change.ColumnConfig
-
- liquibase.change.core.LoadDataColumnConfig
-
- All Implemented Interfaces:
LiquibaseSerializable
public class LoadDataColumnConfig extends ColumnConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class liquibase.change.ColumnConfig
ColumnConfig.ValueNumeric
-
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
-
-
Field Summary
-
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description LoadDataColumnConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAllowUpdate()
Returns true if this Column should be updated.String
getHeader()
Integer
getIndex()
LoadDataChange.LOAD_DATA_TYPE
getTypeEnum()
Returns the type of thisLoadDataChange
as a standard enum, or null if the type isnull
, ORLoadDataChange.LOAD_DATA_TYPE.UNKNOWN
if it doesn't match a standard type.void
load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
void
setAllowUpdate(Boolean getAllowUpdate)
void
setHeader(String header)
void
setIndex(Integer index)
ColumnConfig
setType(LoadDataChange.LOAD_DATA_TYPE value)
-
Methods inherited from class liquibase.change.ColumnConfig
arrayFromNames, fromName, getComputed, getConstraints, getDefaultOnNull, getDefaultValue, getDefaultValueBoolean, getDefaultValueComputed, getDefaultValueConstraintName, getDefaultValueDate, getDefaultValueNumeric, getDefaultValueObject, getDefaultValueSequenceNext, getDescending, getEncoding, getGenerationType, getIncrementBy, getName, getRemarks, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getStartWith, getType, getValue, getValueBlobFile, getValueBoolean, getValueClobFile, getValueComputed, getValueDate, getValueNumeric, getValueObject, getValueSequenceCurrent, getValueSequenceNext, hasDefaultValue, isAutoIncrement, loadConstraints, setAutoIncrement, setComputed, setConstraints, setDefaultOnNull, setDefaultValue, setDefaultValueBoolean, setDefaultValueBoolean, setDefaultValueComputed, setDefaultValueConstraintName, setDefaultValueDate, setDefaultValueDate, setDefaultValueNumeric, setDefaultValueNumeric, setDefaultValueSequenceNext, setDescending, setEncoding, setGenerationType, setIncrementBy, setName, setName, setRemarks, setStartWith, setType, setValue, setValueBlobFile, setValueBoolean, setValueBoolean, setValueClobFile, setValueComputed, setValueDate, setValueDate, setValueNumeric, setValueNumeric, setValueSequenceCurrent, setValueSequenceNext
-
Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable
convertEscaped, getSerializableFieldDataTypeClass, getSerializableFieldDataTypeClassParameters, getSerializableFieldNamespace, getSerializableFields, serialize, serializeValue, setSerializableFieldValue, shouldAutoLoad
-
-
-
-
Method Detail
-
getIndex
public Integer getIndex()
-
setIndex
public void setIndex(Integer index)
-
getHeader
public String getHeader()
-
setHeader
public void setHeader(String header)
-
getAllowUpdate
public Boolean getAllowUpdate()
Returns true if this Column should be updated. Returns null if update hasn't been explicitly assigned.
-
setAllowUpdate
public void setAllowUpdate(Boolean getAllowUpdate)
-
load
public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException
- Specified by:
load
in interfaceLiquibaseSerializable
- Overrides:
load
in classColumnConfig
- Throws:
ParsedNodeException
-
setType
public ColumnConfig setType(LoadDataChange.LOAD_DATA_TYPE value)
-
getTypeEnum
public LoadDataChange.LOAD_DATA_TYPE getTypeEnum()
Returns the type of thisLoadDataChange
as a standard enum, or null if the type isnull
, ORLoadDataChange.LOAD_DATA_TYPE.UNKNOWN
if it doesn't match a standard type.- Returns:
- LoadDataChange.LOAD_DATA_TYPE enum or null
-
-