public class StringIgnoreCaseDataType extends StringDataType
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| Constructor and Description |
|---|
StringIgnoreCaseDataType(String name,
int sqlType) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareNonNulls(Object value1,
Object value2)
Compares non-null values to each other.
|
getSqlValue, setSqlValue, typeCastareObjectsEqual, compare, getSqlType, getTypeClass, isDateTime, isNumber, loadClass, loadClass, toStringasString, forObject, forSqlType, forSqlTypeName, getSqlTypeNamepublic StringIgnoreCaseDataType(String name, int sqlType)
protected int compareNonNulls(Object value1, Object value2) throws TypeCastException
AbstractDataTypeComparable. The two given objects
are the results of the DataType.typeCast(Object) method call which is usually
implemented by a specialized DataType implementation.compareNonNulls in class AbstractDataTypevalue1 - First value resulting from the DataType.typeCast(Object) method callvalue2 - Second value resulting from the DataType.typeCast(Object) method callComparable.compareTo(Object) invocation.TypeCastExceptionCopyright © 2002-2017. All Rights Reserved.