org.apache.derby.impl.store.access
Class UTF

java.lang.Object
  extended byorg.apache.derby.iapi.types.DataType
      extended byorg.apache.derby.iapi.types.UserType
          extended byorg.apache.derby.impl.store.access.UTF
All Implemented Interfaces:
CloneableObject, DataValueDescriptor, java.io.Externalizable, Formatable, Orderable, java.io.Serializable, Storable, TypedFormat, UserDataValue

public class UTF
extends UserType

A class that is used to store java.lang.Strings and provide ordering capability.

See Also:
FormatIdOutputStream, Serialized Form

Field Summary
 
Fields inherited from class org.apache.derby.iapi.types.UserType
 
Fields inherited from interface org.apache.derby.iapi.types.Orderable
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN
 
Constructor Summary
UTF()
           
UTF(java.lang.String value)
           
 
Method Summary
 int compare(DataValueDescriptor other)
          Orderable interface
 
Methods inherited from class org.apache.derby.iapi.types.UserType
compare, equals, estimateMemoryUsage, getBigDecimal, getBoolean, getByte, getBytes, getClone, getDate, getDouble, getFloat, getInt, getLength, getLong, getNewNull, getObject, getShort, getString, getTime, getTimestamp, getTypeFormatId, getTypeName, hashCode, isNull, notEquals, readExternal, readExternalFromArray, restoreToNull, setFrom, setObjectForCast, setValue, setValue, setValue, setValueFromResultSet, toString, typePrecedence, writeExternal
 
Methods inherited from class org.apache.derby.iapi.types.DataType
checkHostVariable, cloneObject, coalesce, dataTypeConversion, equals, flip, genericSetObject, getNationalString, getStream, greaterOrEquals, greaterThan, in, invalidFormat, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, outOfRange, setInto, setInto, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, throwLangSetMismatch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.derby.iapi.types.DataValueDescriptor
checkHostVariable, coalesce, getStream, greaterOrEquals, greaterThan, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, setInto, setInto, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
 

Constructor Detail

UTF

public UTF()

UTF

public UTF(java.lang.String value)
Method Detail

compare

public int compare(DataValueDescriptor other)
Description copied from class: UserType
Orderable interface

Specified by:
compare in interface DataValueDescriptor
Overrides:
compare in class UserType
See Also:
Orderable


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.