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