borland Packages Class Hierarchy dx.dataset Package
com.borland.dx.dataset.Sort
Variables
The Sort
interface collects constants used when sorting data.
public static final int CASEINSENSITIVE = 0x01For case-insensitive ordering. Applies to all columns of
String
type.
public static final int NOT_NULL = 0x04Not null constraint on the
sortKey
values.
public static final int PRIMARY = 0x08|UNIQUE|NOT_NULLCombines
UNIQUE
and NOT_NULL
constraints. Only one index per StorageDataSet
can be created with the PRIMARY
option enabled.
public static final int SORT_AS_INSERTED = 0x10Used as an ordering tie-breaker when there are
sortKeys
with duplicate values or when no sortKeys
are specified.
public static final int UNIQUE = 0x02Unique constraint on the
sortKey
values. A row with column value for sortKey
that is not unique cannot be added to the DataSet.