public class BooleanType extends LiquibaseDataType
PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
BooleanType() |
Modifier and Type | Method and Description |
---|---|
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, finishInitialization, formatNumber, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, 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)
Copyright © 2014 Liquibase.org. All rights reserved.