Top Description Methods
org.apache.derby.iapi.store.access

public Interface ColumnOrdering

Known Direct Implementers
org.apache.derby.impl.sql.execute.IndexColumnOrder
Imports
org.apache.derby.shared.common.error.StandardException

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

Modifier and TypeMethod and Description
public int
public boolean
public boolean

Returns:

whether nulls should sort low
getIsNullsOrderedLow
()

Indicate whether NULL values should be ordered below non-NULL.

Method Detail

getColumnIdback to summary
public int getColumnId()
getIsAscendingback to summary
public boolean getIsAscending()
getIsNullsOrderedLowback to summary
public boolean getIsNullsOrderedLow()

Indicate whether NULL values should be ordered below non-NULL. This function returns TRUE if the user has specified, via the nullOrdering clause in the ORDER BY clause, that NULL values of this column should sort lower than non-NULL values.

Returns:boolean

whether nulls should sort low