liquibase.database.typeconversion.core
Class InformixTypeConverter

java.lang.Object
  extended by liquibase.database.typeconversion.core.AbstractTypeConverter
      extended by liquibase.database.typeconversion.core.InformixTypeConverter
All Implemented Interfaces:
TypeConverter, PrioritizedService

public class InformixTypeConverter
extends AbstractTypeConverter


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Constructor Summary
InformixTypeConverter()
           
 
Method Summary
 BigIntType getBigIntType()
           
 BooleanType getBooleanType()
           
 CurrencyType getCurrencyType()
           
 DataType getDataType(String columnTypeString, Boolean autoIncrement)
          Returns the database-specific datatype for the given column configuration.
 DateTimeType getDateTimeType()
           
 int getPriority()
           
 TextType getTextType()
           
 TimeType getTimeType()
          Returns the actual database-specific data type to use a "time" column.
 boolean supports(Database database)
           
 
Methods inherited from class liquibase.database.typeconversion.core.AbstractTypeConverter
addPrecisionToType, convertDatabaseValueToObject, convertToCorrectObjectType, convertToDatabaseTypeString, getBlobType, getCharType, getClobType, getDataType, getDataType, getDataType, getDateType, getDoubleType, getFloatType, getIntType, getLongBlobType, getNumberType, getNVarcharType, getSmallIntType, getTinyIntType, getUUIDType, getVarcharType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformixTypeConverter

public InformixTypeConverter()
Method Detail

getPriority

public int getPriority()

supports

public boolean supports(Database database)

getDataType

public DataType getDataType(String columnTypeString,
                            Boolean autoIncrement)
Description copied from class: AbstractTypeConverter
Returns the database-specific datatype for the given column configuration. This method will convert some generic column types (e.g. boolean, currency) to the correct type for the current database.

Specified by:
getDataType in interface TypeConverter
Overrides:
getDataType in class AbstractTypeConverter

getBooleanType

public BooleanType getBooleanType()
Specified by:
getBooleanType in interface TypeConverter
Overrides:
getBooleanType in class AbstractTypeConverter

getTextType

public TextType getTextType()
Specified by:
getTextType in interface TypeConverter
Overrides:
getTextType in class AbstractTypeConverter

getBigIntType

public BigIntType getBigIntType()
Specified by:
getBigIntType in interface TypeConverter
Overrides:
getBigIntType in class AbstractTypeConverter

getCurrencyType

public CurrencyType getCurrencyType()
Specified by:
getCurrencyType in interface TypeConverter
Overrides:
getCurrencyType in class AbstractTypeConverter

getDateTimeType

public DateTimeType getDateTimeType()
Specified by:
getDateTimeType in interface TypeConverter
Overrides:
getDateTimeType in class AbstractTypeConverter

getTimeType

public TimeType getTimeType()
Description copied from class: AbstractTypeConverter
Returns the actual database-specific data type to use a "time" column.

Specified by:
getTimeType in interface TypeConverter
Overrides:
getTimeType in class AbstractTypeConverter


Copyright © 2012 Liquibase.org. All Rights Reserved.