Constructor and Description |
---|
Sort.SortSpec(ColumnReferenceExpr sortKey,
boolean asc,
boolean nullFirst) |
Sort.SortSpec(Expr key) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Expr |
getKey() |
int |
hashCode() |
boolean |
isAscending() |
boolean |
isNullFirst() |
void |
setDescending() |
void |
setNullFirst() |
String |
toString() |
public Sort.SortSpec(Expr key)
public Sort.SortSpec(ColumnReferenceExpr sortKey, boolean asc, boolean nullFirst)
sortKey
- a column to sortasc
- true if the sort order is ascending ordernullFirst
- Otherwise, it should be false.public final boolean isAscending()
public final void setDescending()
public final boolean isNullFirst()
public final void setNullFirst()
public final Expr getKey()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.