public class BooleanType extends LiquibaseDataType
PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
BooleanType() |
Modifier and Type | Method and Description |
---|---|
void |
finishInitialization(String originalDefinition) |
String |
getFalseBooleanValue(Database database)
The database-specific value to use for "false" "boolean" columns.
|
String |
getTrueBooleanValue(Database database)
The database-specific value to use for "true" "boolean" columns.
|
protected boolean |
isNumericBoolean(Database database) |
String |
objectToSql(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 String objectToSql(Object value, Database database)
LiquibaseDataType
objectToSql
in class LiquibaseDataType
protected boolean isNumericBoolean(Database database)
public String getFalseBooleanValue(Database database)
public String getTrueBooleanValue(Database database)
public void finishInitialization(String originalDefinition)
finishInitialization
in class LiquibaseDataType
Copyright © 2014 Liquibase.org. All rights reserved.