borland Packages  Class Hierarchy  dx.dataset Package 

Sort interface

com.borland.dx.dataset.Sort

About the Sort interface

Variables  
The Sort interface collects constants used when sorting data.

Sort variables

Variables defined in this interface


Sort variables

CASEINSENSITIVE

  public static final int CASEINSENSITIVE = 0x01
For case-insensitive ordering. Applies to all columns of String type.

NOT_NULL

  public static final int NOT_NULL = 0x04
Not null constraint on the sortKey values.

PRIMARY

  public static final int PRIMARY = 0x08|UNIQUE|NOT_NULL
Combines UNIQUE and NOT_NULL constraints. Only one index per StorageDataSet can be created with the PRIMARY option enabled.

SORT_AS_INSERTED

  public static final int SORT_AS_INSERTED = 0x10
Used as an ordering tie-breaker when there are sortKeys with duplicate values or when no sortKeys are specified.

UNIQUE

  public static final int UNIQUE = 0x02
Unique constraint on the sortKey values. A row with column value for sortKey that is not unique cannot be added to the DataSet.