Class UTF
java.lang.Object
org.apache.derby.iapi.types.DataType
org.apache.derby.iapi.types.UserType
org.apache.derby.impl.store.access.UTF
- All Implemented Interfaces:
Externalizable, Serializable, Comparable, Formatable, Storable, TypedFormat, DataValueDescriptor, Orderable, UserDataValue
A class that is used to store java.lang.Strings and provide
ordering capability.
- See Also:
-
Field Summary
Fields inherited from interface DataValueDescriptor
UNKNOWN_LOGICAL_LENGTHFields inherited from interface Orderable
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class UserType
cloneValue, compare, equals, estimateMemoryUsage, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLength, getLong, getNewNull, getObject, getShort, getString, getTime, getTimestamp, getTypeFormatId, getTypeName, hashCode, isNull, notEquals, readExternal, restoreToNull, setBigDecimal, setFrom, setValue, setValue, setValueFromResultSet, toString, typePrecedence, writeExternalMethods inherited from class DataType
checkHostVariable, cloneHolder, coalesce, compare, compare, compareTo, dataTypeConversion, equals, flip, getStream, getTraceString, greaterOrEquals, greaterThan, hasStream, in, invalidFormat, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, outOfRange, readExternalFromArray, recycle, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, throwLangSetMismatch, typeToBigDecimalMethods inherited from interface DataValueDescriptor
checkHostVariable, cloneHolder, coalesce, compare, compare, getStream, getTraceString, greaterOrEquals, greaterThan, hasStream, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, readExternalFromArray, recycle, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, typeToBigDecimal
-
Constructor Details
-
UTF
public UTF() -
UTF
-
-
Method Details
-
compare
Description copied from class:UserTypeOrderable interface- Specified by:
comparein interfaceDataValueDescriptor- Overrides:
comparein classUserType- Parameters:
other- The Orderable to compare this one to.- Returns:
- <0 - this Orderable is less than other. 0 - this Orderable equals other. >0 - this Orderable is greater than other. The code should not explicitly look for -1, or 1.
- See Also:
-