|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.database.typeconversion.core.AbstractTypeConverter
liquibase.database.typeconversion.core.OracleTypeConverter
public class OracleTypeConverter
Field Summary |
---|
Fields inherited from interface liquibase.servicelocator.PrioritizedService |
---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
Constructor Summary | |
---|---|
OracleTypeConverter()
|
Method Summary | |
---|---|
java.lang.Object |
convertDatabaseValueToObject(java.lang.Object defaultValue,
int dataType,
int columnSize,
int decimalDigits,
Database database)
|
protected java.lang.Object |
convertToCorrectObjectType(java.lang.String value,
int dataType,
int columnSize,
int decimalDigits,
Database database)
|
BigIntType |
getBigIntType()
|
BooleanType |
getBooleanType()
|
CurrencyType |
getCurrencyType()
|
protected DataType |
getDataType(java.lang.String columnTypeString,
java.lang.Boolean autoIncrement,
java.lang.String dataTypeName,
java.lang.String precision)
Extension of super.getDataType(String columnTypeString, Boolean autoIncrement, String dataTypeName, String precision) Contains definition of Oracle's data-types |
DateTimeType |
getDateTimeType()
|
DoubleType |
getDoubleType()
Returns the actual database-specific data type to use for a "double" column. |
IntType |
getIntType()
Returns the actual database-specific data type to use for a "int" column. |
NVarcharType |
getNVarcharType()
Returns the actual database-specific data type to use for a "varchar" column. |
int |
getPriority()
|
TimeType |
getTimeType()
Returns the actual database-specific data type to use a "time" column. |
TinyIntType |
getTinyIntType()
Returns the actual database-specific data type to use for a "tinyint" column. |
UUIDType |
getUUIDType()
|
VarcharType |
getVarcharType()
Returns the actual database-specific data type to use for a "varchar" column. |
boolean |
supports(Database database)
|
Methods inherited from class liquibase.database.typeconversion.core.AbstractTypeConverter |
---|
addPrecisionToType, convertToDatabaseTypeString, getBlobType, getCharType, getClobType, getDataType, getDataType, getDataType, getDateType, getFloatType, getNumberType, getSmallIntType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleTypeConverter()
Method Detail |
---|
public int getPriority()
public boolean supports(Database database)
protected DataType getDataType(java.lang.String columnTypeString, java.lang.Boolean autoIncrement, java.lang.String dataTypeName, java.lang.String precision)
getDataType
in class AbstractTypeConverter
public java.lang.Object convertDatabaseValueToObject(java.lang.Object defaultValue, int dataType, int columnSize, int decimalDigits, Database database) throws java.text.ParseException
convertDatabaseValueToObject
in interface TypeConverter
convertDatabaseValueToObject
in class AbstractTypeConverter
java.text.ParseException
protected java.lang.Object convertToCorrectObjectType(java.lang.String value, int dataType, int columnSize, int decimalDigits, Database database) throws java.text.ParseException
convertToCorrectObjectType
in class AbstractTypeConverter
java.text.ParseException
public BooleanType getBooleanType()
getBooleanType
in interface TypeConverter
getBooleanType
in class AbstractTypeConverter
public CurrencyType getCurrencyType()
getCurrencyType
in interface TypeConverter
getCurrencyType
in class AbstractTypeConverter
public UUIDType getUUIDType()
getUUIDType
in interface TypeConverter
getUUIDType
in class AbstractTypeConverter
public TimeType getTimeType()
AbstractTypeConverter
getTimeType
in interface TypeConverter
getTimeType
in class AbstractTypeConverter
public DateTimeType getDateTimeType()
getDateTimeType
in interface TypeConverter
getDateTimeType
in class AbstractTypeConverter
public BigIntType getBigIntType()
getBigIntType
in interface TypeConverter
getBigIntType
in class AbstractTypeConverter
public IntType getIntType()
AbstractTypeConverter
getIntType
in interface TypeConverter
getIntType
in class AbstractTypeConverter
public VarcharType getVarcharType()
AbstractTypeConverter
getVarcharType
in interface TypeConverter
getVarcharType
in class AbstractTypeConverter
public NVarcharType getNVarcharType()
AbstractTypeConverter
getNVarcharType
in class AbstractTypeConverter
public DoubleType getDoubleType()
AbstractTypeConverter
getDoubleType
in interface TypeConverter
getDoubleType
in class AbstractTypeConverter
public TinyIntType getTinyIntType()
AbstractTypeConverter
getTinyIntType
in interface TypeConverter
getTinyIntType
in class AbstractTypeConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |