liquibase.datatype.core
Class CharType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.CharType
- All Implemented Interfaces:
- PrioritizedService
- Direct Known Subclasses:
- NCharType, NVarcharType, VarcharType
public class CharType
- extends LiquibaseDataType
Method Summary |
protected int |
getSize()
Return the size of this data type definition. |
String |
objectToSql(Object value,
Database database)
Returns the value object in a format to include in SQL. |
Methods inherited from class liquibase.datatype.LiquibaseDataType |
addParameter, equals, finishInitialization, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, hashCode, isCurrentDateTimeFunction, setAdditionalInformation, sqlToObject, supports, toDatabaseDataType, toString, validate |
CharType
public CharType()
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
getSize
protected int getSize()
- Return the size of this data type definition. If unknown or unspecified, return -1
Copyright © 2014 Liquibase.org. All Rights Reserved.