Top Description Methods
org.apache.derby.iapi.types

pack-priv Interface CollationElementsInterface

Known Direct Implementers
org.apache.derby.iapi.types.CollatorSQLChar, org.apache.derby.iapi.types.CollatorSQLClob, org.apache.derby.iapi.types.CollatorSQLLongvarchar, org.apache.derby.iapi.types.CollatorSQLVarchar
Imports
org.apache.derby.shared.common.error.StandardException

CollationElementsInterface is an interface which will be implemented by all the Collator sensitive char data types. These methods will be called by WorkHorseForCollatorDatatypes's collation sensitive methods "like, stringcompare" etc.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the value has exactly one collation element, or false otherwise
hasSingleCollationElement
()

Check if this instance represents a value that has a single collation element.

Method Detail

hasSingleCollationElementback to summary
public boolean hasSingleCollationElement() throws StandardException

Check if this instance represents a value that has a single collation element.

Returns:boolean

true if the value has exactly one collation element, or false otherwise

Exceptions
StandardException:
if an error occurs when accessing the value