Top Description Constructors Methods
org.apache.derby.impl.store.access

public Class UTF

extends UserType
Class Inheritance
Imports
org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.types.DataValueDescriptor, .UserType

A class that is used to store java.lang.Strings and provide ordering capability.
See Also
org.apache.derby.iapi.services.io.FormatIdOutputStream

Constructor Summary

AccessConstructor and Description
public
UTF()

public
UTF(String value)

Method Summary

Modifier and TypeMethod and Description
public int
compare(DataValueDescriptor
The Orderable to compare this one to.
other
)

Overrides org.apache.derby.iapi.types.UserType.compare.

Implements org.apache.derby.iapi.types.DataValueDescriptor.compare.

Orderable interface

Inherited from org.apache.derby.iapi.types.UserType:
cloneValuecompareequalsestimateMemoryUsagegetBooleangetBytegetBytesgetDategetDoublegetFloatgetIntgetLengthgetLonggetNewNullgetObjectgetShortgetStringgetTimegetTimestampgetTypeFormatIdgetTypeNamehashCodeisNullnotEqualsreadExternalrestoreToNullsetBigDecimalsetFromsetValuesetValuesetValueFromResultSettoStringtypePrecedencewriteExternal

Constructor Detail

UTFback to summary
public UTF()
UTFback to summary
public UTF(String value)

Method Detail

compareback to summary
public int compare(DataValueDescriptor other)

Overrides org.apache.derby.iapi.types.UserType.compare.

Implements org.apache.derby.iapi.types.DataValueDescriptor.compare.

Doc from org.apache.derby.iapi.types.UserType.compare.

Orderable interface

Parameters
other:DataValueDescriptor

Doc from org.apache.derby.iapi.types.DataValueDescriptor.compare.

The Orderable to compare this one to.

Returns:int

Doc from org.apache.derby.iapi.types.DataValueDescriptor.compare.

<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.