|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.rel.RelFieldCollation
public class RelFieldCollation
RelFieldCollation defines the ordering for one field of a RelNode whose output is to be sorted.
TODO: collation sequence (including ASC/DESC)
Nested Class Summary | |
---|---|
static class |
RelFieldCollation.Direction
Direction that a field is ordered in. |
Field Summary | |
---|---|
private RelFieldCollation.Direction |
direction
Direction of sorting. |
static RelFieldCollation[] |
emptyCollationArray
|
private int |
fieldIndex
0-based index of field being sorted. |
Constructor Summary | |
---|---|
RelFieldCollation(int fieldIndex)
Creates an ascending field collation. |
|
RelFieldCollation(int fieldIndex,
RelFieldCollation.Direction direction)
Creates a field collation. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
RelFieldCollation.Direction |
getDirection()
|
int |
getFieldIndex()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RelFieldCollation[] emptyCollationArray
private final int fieldIndex
private final RelFieldCollation.Direction direction
Constructor Detail |
---|
public RelFieldCollation(int fieldIndex)
public RelFieldCollation(int fieldIndex, RelFieldCollation.Direction direction)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getFieldIndex()
public RelFieldCollation.Direction getDirection()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |