public class UnknownDataType extends AbstractDataType
BIGINT, BIGINT_AUX_LONG, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, NCHAR, NUMERIC, NVARCHAR, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Returns a negative integer, zero, or a positive integer as the first
argument is less than, equal to, or greater than the second.
|
Object |
typeCast(Object value)
Returns the specified value typecasted to this
DataType |
areObjectsEqual, compareNonNulls, getSqlType, getSqlValue, getTypeClass, isDateTime, isNumber, loadClass, loadClass, setSqlValue, toStringasString, forObject, forSqlType, forSqlTypeName, getSqlTypeNamepublic Object typeCast(Object value) throws TypeCastException
DataTypeDataTypetypeCast in class DataTypeTypeCastExceptionpublic int compare(Object o1, Object o2) throws TypeCastException
DataTypeThe two values are typecast to this DataType before being compared.
compare in class AbstractDataTypeTypeCastException - if the arguments' types prevent them from
being compared by this Comparator.Copyright © 2002-2017. All Rights Reserved.