| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv int | colNum
This class implements Formatable. |
| pack-priv boolean | nullsOrderedLow
indicate whether NULL values should sort low. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | IndexColumnOrder(int
number of this column colNum, boolean whether the ORDER BY is ascendeing or descending ascending, boolean whether nulls should be ordered low nullsLow)constructor used by the ORDER BY clause. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | |
| public boolean | Returns: whether nulls should sort lowImplements org. Indicate whether NULL values should be ordered below non-NULL. |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public String | |
| public void | writeExternal(ObjectOutput
write bytes here out)Implements java. Write this object out |
| ascending | back to summary |
|---|---|
| pack-priv boolean ascending | |
| colNum | back to summary |
|---|---|
| pack-priv int colNum This class implements Formatable. That means that it can write itself to and from a formatted stream. If you add more fields to this class, make sure that you also write/read them with the writeExternal()/readExternal() methods. If, inbetween releases, you add more fields to this class, then you should bump the version number emitted by the getTypeFormatId() method. | |
| nullsOrderedLow | back to summary |
|---|---|
| pack-priv boolean nullsOrderedLow indicate whether NULL values should sort low.
nullsOrderedLow is usually false, because generally Derby defaults
to have NULL values compare higher than non-null values, but if
the user specifies an ORDER BY clause with a | |
| IndexColumnOrder | back to summary |
|---|---|
| public IndexColumnOrder() Niladic constructor for formatable | |
| IndexColumnOrder | back to summary |
|---|---|
| public IndexColumnOrder(int colNum) | |
| IndexColumnOrder | back to summary |
|---|---|
| public IndexColumnOrder(int colNum, boolean ascending) | |
| IndexColumnOrder | back to summary |
|---|---|
| public IndexColumnOrder(int colNum, boolean ascending, boolean nullsLow) constructor used by the ORDER BY clause. This version of the constructor is used by the compiler when it processes an ORDER BY clause in a SQL statement. For such statements, the user gets to control whether NULL values are ordered as lower than all non-NULL values, or higher than all non-NULL values.
| |
| getColumnId | back to summary |
|---|---|
| public int getColumnId() Implements org. | |
| getIsAscending | back to summary |
|---|---|
| public boolean getIsAscending() Implements org. | |
| getIsNullsOrderedLow | back to summary |
|---|---|
| public boolean getIsNullsOrderedLow() Implements org. Indicate whether NULL values should be ordered below non-NULL.
This function returns TRUE if the user has specified, via the
whether nulls should sort low
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object out
| |