| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private Boolean | |
| private ConstraintsConfig | |
| private Boolean | |
| private String | |
| private Boolean | |
| private DatabaseFunction | |
| private String | |
| private Date | |
| private Number | |
| private SequenceNextValueFunction | |
| private Boolean | |
| private String | |
| private String | |
| private BigInteger | |
| private String | |
| private String | |
| private BigInteger | |
| private String | |
| private String | |
| private String | |
| private Boolean | |
| private String | |
| private DatabaseFunction | |
| private Date | |
| private Number | |
| private SequenceCurrentValueFunction | |
| private SequenceNextValueFunction |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ColumnConfig[] | |
| public static ColumnConfig | |
| public Boolean | |
| public ConstraintsConfig | |
| public Boolean | |
| public String | |
| public Boolean | |
| public DatabaseFunction | |
| public String | |
| public Date | |
| public Number | |
| public Object | getDefaultValueObject()
Return the value to set this column's default to according to the setDefaultValue* function that was called. |
| public SequenceNextValueFunction | |
| public Boolean | |
| public String | |
| public String | |
| public BigInteger | |
| public String | |
| public String | |
| public LiquibaseSerializable. | |
| public Object | |
| public String | |
| public String | |
| public BigInteger | |
| public String | |
| public String | |
| public String | |
| public Boolean | |
| public String | |
| public DatabaseFunction | |
| public Date | |
| public Number | |
| public Object | |
| public SequenceCurrentValueFunction | |
| public SequenceNextValueFunction | |
| public boolean | hasDefaultValue()
Returns true if any of the setDefaultValue* functions have had a non-null value set |
| public Boolean | |
| public void | load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
Overrides liquibase. Implements liquibase.
|
| protected void | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | setDefaultValueBoolean(String defaultValueBoolean)
Set the defaultValueBoolean based on a given string. |
| public ColumnConfig | |
| public ColumnConfig | |
| public void | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | setDefaultValueNumeric(String defaultValueNumeric)
Set the number this column should use as its default. |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | setValueDate(String
the Date Value to use (may be null or "null", or start with "now" or "today"). valueDate)Set the date this column should be set to. |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig | |
| public ColumnConfig |
| autoIncrement | back to summary |
|---|---|
| private Boolean autoIncrement | |
| computed | back to summary |
|---|---|
| private Boolean computed | |
| constraints | back to summary |
|---|---|
| private ConstraintsConfig constraints | |
| defaultOnNull | back to summary |
|---|---|
| private Boolean defaultOnNull | |
| defaultValue | back to summary |
|---|---|
| private String defaultValue | |
| defaultValueBoolean | back to summary |
|---|---|
| private Boolean defaultValueBoolean | |
| defaultValueComputed | back to summary |
|---|---|
| private DatabaseFunction defaultValueComputed | |
| defaultValueConstraintName | back to summary |
|---|---|
| private String defaultValueConstraintName | |
| defaultValueDate | back to summary |
|---|---|
| private Date defaultValueDate | |
| defaultValueNumeric | back to summary |
|---|---|
| private Number defaultValueNumeric | |
| defaultValueSequenceNext | back to summary |
|---|---|
| private SequenceNextValueFunction defaultValueSequenceNext | |
| descending | back to summary |
|---|---|
| private Boolean descending | |
| encoding | back to summary |
|---|---|
| private String encoding | |
| generationType | back to summary |
|---|---|
| private String generationType | |
| incrementBy | back to summary |
|---|---|
| private BigInteger incrementBy | |
| name | back to summary |
|---|---|
| private String name | |
| remarks | back to summary |
|---|---|
| private String remarks | |
| startWith | back to summary |
|---|---|
| private BigInteger startWith | |
| type | back to summary |
|---|---|
| private String type | |
| value | back to summary |
|---|---|
| private String value | |
| valueBlobFile | back to summary |
|---|---|
| private String valueBlobFile | |
| valueBoolean | back to summary |
|---|---|
| private Boolean valueBoolean | |
| valueClobFile | back to summary |
|---|---|
| private String valueClobFile | |
| valueComputed | back to summary |
|---|---|
| private DatabaseFunction valueComputed | |
| valueDate | back to summary |
|---|---|
| private Date valueDate | |
| valueNumeric | back to summary |
|---|---|
| private Number valueNumeric | |
| valueSequenceCurrent | back to summary |
|---|---|
| private SequenceCurrentValueFunction valueSequenceCurrent | |
| valueSequenceNext | back to summary |
|---|---|
| private SequenceNextValueFunction valueSequenceNext | |
| ColumnConfig | back to summary |
|---|---|
| public ColumnConfig(Column columnSnapshot) Create a ColumnConfig object based on a | |
| ColumnConfig | back to summary |
|---|---|
| public ColumnConfig() Create am empty ColumnConfig object. Boolean and other object values will default to null. | |
| arrayFromNames | back to summary |
|---|---|
| public static ColumnConfig[] arrayFromNames(String names) | |
| fromName | back to summary |
|---|---|
| public static ColumnConfig fromName(String name) | |
| getComputed | back to summary |
|---|---|
| public Boolean getComputed() | |
| getConstraints | back to summary |
|---|---|
| public ConstraintsConfig getConstraints() Returns the ConstraintsConfig this ColumnConfig is using. Returns null if nho constraints have been assigned yet. | |
| getDefaultOnNull | back to summary |
|---|---|
| public Boolean getDefaultOnNull() | |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() The String default value to assign to this column. If you do not want the default set by | |
| getDefaultValueBoolean | back to summary |
|---|---|
| public Boolean getDefaultValueBoolean() Return the boolean value this column should default to.
| |
| getDefaultValueComputed | back to summary |
|---|---|
| public DatabaseFunction getDefaultValueComputed() Return the function whose value should generate this column's default.
| |
| getDefaultValueConstraintName | back to summary |
|---|---|
| public String getDefaultValueConstraintName() | |
| getDefaultValueDate | back to summary |
|---|---|
| public Date getDefaultValueDate() Return the date value this column should default to.
| |
| getDefaultValueNumeric | back to summary |
|---|---|
| public Number getDefaultValueNumeric() Return the numeric value this column should default to.
| |
| getDefaultValueObject | back to summary |
|---|---|
| public Object getDefaultValueObject() Return the value to set this column's default to according to the setDefaultValue* function that was called. If none were called, this function returns null. | |
| getDefaultValueSequenceNext | back to summary |
|---|---|
| public SequenceNextValueFunction getDefaultValueSequenceNext() | |
| getDescending | back to summary |
|---|---|
| public Boolean getDescending() | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Return encoding of a file, referenced via | |
| getGenerationType | back to summary |
|---|---|
| public String getGenerationType() | |
| getIncrementBy | back to summary |
|---|---|
| public BigInteger getIncrementBy() Return the amount to auto increment by. | |
| getName | back to summary |
|---|---|
| public String getName() The name of the column. | |
| getRemarks | back to summary |
|---|---|
| public String getRemarks() Return the remarks to apply to this column. | |
| getSerializableFieldType | back to summary |
|---|---|
| public LiquibaseSerializable. Overrides liquibase. Implements liquibase.
| |
| getSerializableFieldValue | back to summary |
|---|---|
| public Object getSerializableFieldValue(String field) Overrides liquibase. Implements liquibase.
| |
| getSerializedObjectName | back to summary |
|---|---|
| public String getSerializedObjectName() Implements liquibase.
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Implements liquibase.
| |
| getStartWith | back to summary |
|---|---|
| public BigInteger getStartWith() Return the number to start auto incrementing with. | |
| getType | back to summary |
|---|---|
| public String getType() The data type fof the column.
This value will pass through | |
| getValue | back to summary |
|---|---|
| public String getValue() The String value to set this column to. If you do not want the value set by | |
| getValueBlobFile | back to summary |
|---|---|
| public String getValueBlobFile() Return the file containing the data to load into a BLOB.
| |
| getValueBoolean | back to summary |
|---|---|
| public Boolean getValueBoolean() Return the boolean value this column should be set to.
| |
| getValueClobFile | back to summary |
|---|---|
| public String getValueClobFile() Return the file containing the data to load into a CLOB.
| |
| getValueComputed | back to summary |
|---|---|
| public DatabaseFunction getValueComputed() Return the function this column should be set from.
| |
| getValueDate | back to summary |
|---|---|
| public Date getValueDate() Return the date value this column should be set to.
| |
| getValueNumeric | back to summary |
|---|---|
| public Number getValueNumeric() Return the numeric value this column should be set to.
| |
| getValueObject | back to summary |
|---|---|
| public Object getValueObject() Return the value from whatever setValue* function was called. Will return null if none were set. | |
| getValueSequenceCurrent | back to summary |
|---|---|
| public SequenceCurrentValueFunction getValueSequenceCurrent() | |
| getValueSequenceNext | back to summary |
|---|---|
| public SequenceNextValueFunction getValueSequenceNext() | |
| hasDefaultValue | back to summary |
|---|---|
| public boolean hasDefaultValue() Returns true if any of the setDefaultValue* functions have had a non-null value set | |
| isAutoIncrement | back to summary |
|---|---|
| public Boolean isAutoIncrement() Returns true if this Column should be set to be auto increment. Returns null if auto-increment hasn't been explicitly assigned. | |
| load | back to summary |
|---|---|
| public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Overrides liquibase. Implements liquibase.
| |
| loadConstraints | back to summary |
|---|---|
| protected void loadConstraints(ParsedNode constraintsNode) throws ParsedNodeException | |
| setAutoIncrement | back to summary |
|---|---|
| public ColumnConfig setAutoIncrement(Boolean autoIncrement) | |
| setComputed | back to summary |
|---|---|
| public ColumnConfig setComputed(Boolean computed) | |
| setConstraints | back to summary |
|---|---|
| public ColumnConfig setConstraints(ConstraintsConfig constraints) | |
| setDefaultOnNull | back to summary |
|---|---|
| public ColumnConfig setDefaultOnNull(Boolean defaultOnNull) | |
| setDefaultValue | back to summary |
|---|---|
| public ColumnConfig setDefaultValue(String defaultValue) Sets the string default value to assign to this column. If you are trying to set a default value type other than a string, use the more specific functions
like | |
| setDefaultValueBoolean | back to summary |
|---|---|
| public ColumnConfig setDefaultValueBoolean(String defaultValueBoolean) Set the defaultValueBoolean based on a given string. If the passed value cannot be parsed as a boolean, it is assumed to be a function that returns a boolean. If the string "null" or an empty string is passed, it will set a null value. If "1" is passed, defaultValueBoolean is set to true. If 0 is passed, defaultValueBoolean is set to false | |
| setDefaultValueBoolean | back to summary |
|---|---|
| public ColumnConfig setDefaultValueBoolean(Boolean defaultValueBoolean) | |
| setDefaultValueComputed | back to summary |
|---|---|
| public ColumnConfig setDefaultValueComputed(DatabaseFunction defaultValueComputed) | |
| setDefaultValueConstraintName | back to summary |
|---|---|
| public void setDefaultValueConstraintName(String defaultValueConstraintName) | |
| setDefaultValueDate | back to summary |
|---|---|
| public ColumnConfig setDefaultValueDate(Date defaultValueDate) | |
| setDefaultValueDate | back to summary |
|---|---|
| public ColumnConfig setDefaultValueDate(String defaultValueDate) Set the date this column should default to. Supports any of the date or datetime formats handled by | |
| setDefaultValueNumeric | back to summary |
|---|---|
| public ColumnConfig setDefaultValueNumeric(String defaultValueNumeric) Set the number this column should use as its default. Supports integers and decimals, and strips off any wrapping parentheses. If the passed value cannot be parsed as a number, it is assumed to be a function that returns a number. If the value "null" is passed, it will set a null value. A special case is made for "GENERATED_BY_DEFAULT" which simply sets the ColumnConfig object to autoIncrement. | |
| setDefaultValueNumeric | back to summary |
|---|---|
| public ColumnConfig setDefaultValueNumeric(Number defaultValueNumeric) | |
| setDefaultValueSequenceNext | back to summary |
|---|---|
| public ColumnConfig setDefaultValueSequenceNext(SequenceNextValueFunction defaultValueSequenceNext) | |
| setDescending | back to summary |
|---|---|
| public ColumnConfig setDescending(Boolean descending) | |
| setEncoding | back to summary |
|---|---|
| public ColumnConfig setEncoding(String encoding) | |
| setGenerationType | back to summary |
|---|---|
| public ColumnConfig setGenerationType(String generationType) | |
| setIncrementBy | back to summary |
|---|---|
| public ColumnConfig setIncrementBy(BigInteger incrementBy) | |
| setName | back to summary |
|---|---|
| public ColumnConfig setName(String name) | |
| setName | back to summary |
|---|---|
| public ColumnConfig setName(String name, boolean computed) | |
| setRemarks | back to summary |
|---|---|
| public ColumnConfig setRemarks(String remarks) | |
| setStartWith | back to summary |
|---|---|
| public ColumnConfig setStartWith(BigInteger startWith) | |
| setType | back to summary |
|---|---|
| public ColumnConfig setType(String type) | |
| setValue | back to summary |
|---|---|
| public ColumnConfig setValue(String value) Sets the string value this column should be set to.
If you are trying to set a value type other than a string, use the more specific functions like | |
| setValueBlobFile | back to summary |
|---|---|
| public ColumnConfig setValueBlobFile(String valueBlobFile) | |
| setValueBoolean | back to summary |
|---|---|
| public ColumnConfig setValueBoolean(String valueBoolean) Set the valueBoolean based on a given string. If the passed value cannot be parsed as a boolean, it is assumed to be a function that returns a boolean. If the string "null" or an empty string is passed, it will set a null value. If "1" is passed, defaultValueBoolean is set to true. If 0 is passed, defaultValueBoolean is set to false | |
| setValueBoolean | back to summary |
|---|---|
| public ColumnConfig setValueBoolean(Boolean valueBoolean) | |
| setValueClobFile | back to summary |
|---|---|
| public ColumnConfig setValueClobFile(String valueClobFile) | |
| setValueComputed | back to summary |
|---|---|
| public ColumnConfig setValueComputed(DatabaseFunction valueComputed) | |
| setValueDate | back to summary |
|---|---|
| public ColumnConfig setValueDate(String valueDate) throws DateParseException Set the date this column should be set to. Supports any of the date or datetime formats handled by
| |
| setValueDate | back to summary |
|---|---|
| public ColumnConfig setValueDate(Date valueDate) | |
| setValueNumeric | back to summary |
|---|---|
| public ColumnConfig setValueNumeric(Number valueNumeric) | |
| setValueNumeric | back to summary |
|---|---|
| public ColumnConfig setValueNumeric(String valueNumeric) Set the number this column should be set to. Supports integers and decimals, and strips off any wrapping parentheses. If the passed value cannot be parsed as a number in US locale, it is assumed to be a function that returns a number. If the value "null" is passed, it will set a null value. | |
| setValueSequenceCurrent | back to summary |
|---|---|
| public ColumnConfig setValueSequenceCurrent(SequenceCurrentValueFunction valueSequenceCurrent) | |
| setValueSequenceNext | back to summary |
|---|---|
| public ColumnConfig setValueSequenceNext(SequenceNextValueFunction valueSequenceNext) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Number | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | doubleValue()
Implements abstract java. Returns the value of the specified number as a |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | floatValue()
Implements abstract java. Returns the value of the specified number as a |
| public Number | |
| public int | |
| public int | intValue()
Implements abstract java. Returns the value of the specified number as an |
| public long | longValue()
Implements abstract java. Returns the value of the specified number as a |
| private static ColumnConfig. | |
| public String |
| delegate | back to summary |
|---|---|
| private final Number delegate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| private final String value | |
| ValueNumeric | back to summary |
|---|---|
| public ValueNumeric(final String value, final Number numeric) | |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| getDelegate | back to summary |
|---|---|
| public Number getDelegate() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intValue | back to summary |
|---|---|
| public int intValue() Implements abstract java. Doc from java. Returns the value of the specified number as an
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract java. Doc from java. Returns the value of the specified number as a
| |
| of | back to summary |
|---|---|
| private static ColumnConfig. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |