liquibase.datatype.core
Class DateTimeType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.DateTimeType
- All Implemented Interfaces:
- PrioritizedService
- Direct Known Subclasses:
- TimestampType
public class DateTimeType
- 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, supports, toString, validate |
DateTimeType
public DateTimeType()
toDatabaseDataType
public DatabaseDataType toDatabaseDataType(Database database)
- Overrides:
toDatabaseDataType
in class LiquibaseDataType
supportsFractionalDigits
protected boolean supportsFractionalDigits(Database database)
isMinimumVersion
protected boolean isMinimumVersion(String minimumVersion,
int major,
int minor,
int patch)
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
sqlToObject
public Object sqlToObject(String value,
Database database)
- Overrides:
sqlToObject
in class LiquibaseDataType
getDateTimeFormat
protected DateFormat getDateTimeFormat(Database database)
Copyright © 2016 Liquibase.org. All rights reserved.