public class CharType extends LiquibaseDataType
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
CharType() |
Modifier and Type | Method and Description |
---|---|
LoadDataChange.LOAD_DATA_TYPE |
getLoadTypeName()
Returns one of the four basic data types for use in LoadData: BOOLEAN, NUMERIC, DATE or STRING
|
protected int |
getSize()
Return the size of this data type definition.
|
String |
objectToSql(Object value,
Database database)
Returns the value object in a format to include in SQL.
|
DatabaseDataType |
toDatabaseDataType(Database database)
Transforms this data type into the native data type of the target DBMS.
|
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isAutoIncrement, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate
public DatabaseDataType toDatabaseDataType(Database database)
LiquibaseDataType
toDatabaseDataType
in class LiquibaseDataType
database
- the Database
for which the native data type is to be constructedpublic String objectToSql(Object value, Database database)
LiquibaseDataType
objectToSql
in class LiquibaseDataType
protected int getSize()
public LoadDataChange.LOAD_DATA_TYPE getLoadTypeName()
LiquibaseDataType
getLoadTypeName
in class LiquibaseDataType
Copyright © 2023 Liquibase.org. All rights reserved.