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.


Method Summary
 int getColumnId()
           
 boolean getIsAscending()
           
 boolean getIsNullsOrderedLow()
          Indicate whether NULL values should be ordered below non-NULL.
 

Method Detail

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

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.