|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.rel.RelCollationImpl
public class RelCollationImpl
Simple implementation of RelCollation.
| Field Summary | |
|---|---|
private List<RelFieldCollation> |
fieldCollations
|
static List<RelCollation> |
Singleton0
An ordering by the zeroth column. |
| Constructor Summary | |
|---|---|
RelCollationImpl(List<RelFieldCollation> fieldCollations)
|
|
| Method Summary | |
|---|---|
static List<RelCollation> |
createSingleton(int fieldIndex)
Creates a list containing one collation containing one field. |
static boolean |
equal(List<RelCollation> collationList1,
List<RelCollation> collationList2)
|
boolean |
equals(Object obj)
|
List<RelFieldCollation> |
getFieldCollations()
Returns the ordinals and directions of the columns in this ordering. |
int |
hashCode()
|
static boolean |
isValid(RelDataType rowType,
List<RelCollation> collationList,
boolean fail)
Checks that a collection of collations is valid. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final List<RelCollation> Singleton0
private final List<RelFieldCollation> fieldCollations
| Constructor Detail |
|---|
public RelCollationImpl(List<RelFieldCollation> fieldCollations)
| Method Detail |
|---|
public List<RelFieldCollation> getFieldCollations()
RelCollation
getFieldCollations in interface RelCollationpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic static List<RelCollation> createSingleton(int fieldIndex)
public static boolean isValid(RelDataType rowType,
List<RelCollation> collationList,
boolean fail)
rowType - Row type of the relational expressioncollationList - List of collationsfail - Whether to fail if invalid
public static boolean equal(List<RelCollation> collationList1,
List<RelCollation> collationList2)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||