public class BooleanType extends LiquibaseDataType
PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
BooleanType() |
Modifier and Type | Method and Description |
---|---|
void |
finishInitialization(java.lang.String originalDefinition) |
java.lang.String |
getFalseBooleanValue(Database database)
The database-specific value to use for "false" "boolean" columns.
|
java.lang.String |
getTrueBooleanValue(Database database)
The database-specific value to use for "true" "boolean" columns.
|
protected boolean |
isNumericBoolean(Database database) |
java.lang.String |
objectToSql(java.lang.Object value,
Database database)
Returns the value object in a format to include in SQL.
|
DatabaseDataType |
toDatabaseDataType(Database database) |
addParameter, equals, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, hashCode, isCurrentDateTimeFunction, setAdditionalInformation, sqlToObject, supports, toString, validate
public DatabaseDataType toDatabaseDataType(Database database)
toDatabaseDataType
in class LiquibaseDataType
public java.lang.String objectToSql(java.lang.Object value, Database database)
LiquibaseDataType
objectToSql
in class LiquibaseDataType
protected boolean isNumericBoolean(Database database)
public java.lang.String getFalseBooleanValue(Database database)
public java.lang.String getTrueBooleanValue(Database database)
public void finishInitialization(java.lang.String originalDefinition)
finishInitialization
in class LiquibaseDataType