org.apache.derby.iapi.store.access
Interface ColumnOrdering
- All Known Implementing Classes:
- IndexColumnOrder
public interface ColumnOrdering
The column ordering interface defines a column that is to be
ordered in a sort or index, and how it is to be ordered. Column
instances are compared by calling the compare(Orderable) method
of Orderable.
getColumnId
int getColumnId()
getIsAscending
boolean getIsAscending()
getIsNullsOrderedLow
boolean getIsNullsOrderedLow()
- Indicate whether NULL values should be ordered below non-NULL.
This function returns TRUE if the user has specified, via the
clause in the ORDER BY clause, that NULL values
of this column should sort lower than non-NULL values.
- Returns:
- whether nulls should sort low
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.