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, typeCast
areObjectsEqual, compare, getSqlType, getTypeClass, isDateTime, isNumber, loadClass, loadClass, toString
asString, forObject, forSqlType, forSqlTypeName
public StringIgnoreCaseDataType(String name, int sqlType)
protected int compareNonNulls(Object value1, Object value2) throws TypeCastException
AbstractDataType
Comparable
. 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 AbstractDataType
value1
- First value resulting from the DataType.typeCast(Object)
method callvalue2
- Second value resulting from the DataType.typeCast(Object)
method callComparable.compareTo(Object)
invocation.TypeCastException
Copyright © 2002–2018. All rights reserved.