liquibase.datatype.core
Class BooleanType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.BooleanType
- All Implemented Interfaces:
- PrioritizedService
public class BooleanType
- extends LiquibaseDataType
Methods inherited from class liquibase.datatype.LiquibaseDataType |
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate |
BooleanType
public BooleanType()
toDatabaseDataType
public DatabaseDataType toDatabaseDataType(Database database)
- Overrides:
toDatabaseDataType
in class LiquibaseDataType
objectToSql
public String objectToSql(Object value,
Database database)
- Description copied from class:
LiquibaseDataType
- Returns the value object in a format to include in SQL. Quote if necessary.
- Overrides:
objectToSql
in class LiquibaseDataType
isNumericBoolean
protected boolean isNumericBoolean(Database database)
getFalseBooleanValue
public String getFalseBooleanValue(Database database)
- The database-specific value to use for "false" "boolean" columns.
getTrueBooleanValue
public String getTrueBooleanValue(Database database)
- The database-specific value to use for "true" "boolean" columns.
Copyright © 2016 Liquibase.org. All rights reserved.