@API(value=EXPERIMENTAL) public class LogicalSortExpression extends Object implements RelationalExpressionWithChildren
Constructor and Description |
---|
LogicalSortExpression(List<Element> sort,
boolean reverse,
ExpressionRef<RelationalExpression> inner) |
LogicalSortExpression(List<Element> sort,
boolean reverse,
RelationalExpression inner) |
LogicalSortExpression(List<Element> grouping,
List<Element> sort,
boolean reverse,
ExpressionRef<RelationalExpression> inner) |
LogicalSortExpression(List<Element> grouping,
List<Element> sort,
boolean reverse,
RelationalExpression inner) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
equalsWithoutChildren(RelationalExpression otherExpression) |
List<Element> |
getGrouping() |
RelationalExpression |
getInner() |
Iterator<? extends ExpressionRef<? extends RelationalExpression>> |
getPlannerExpressionChildren()
Return an iterator of references to the children of this planner expression.
|
int |
getRelationalChildCount() |
List<Element> |
getSort() |
List<Element> |
getSortPrefix() |
List<Element> |
getSortSuffix() |
int |
hashCode() |
boolean |
isReverse() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
acceptPropertyVisitor, bindTo, fromRecordQuery, show
public LogicalSortExpression(@Nonnull List<Element> sort, boolean reverse, @Nonnull RelationalExpression inner)
public LogicalSortExpression(@Nonnull List<Element> grouping, @Nonnull List<Element> sort, boolean reverse, @Nonnull RelationalExpression inner)
public LogicalSortExpression(@Nonnull List<Element> sort, boolean reverse, @Nonnull ExpressionRef<RelationalExpression> inner)
public LogicalSortExpression(@Nonnull List<Element> grouping, @Nonnull List<Element> sort, boolean reverse, @Nonnull ExpressionRef<RelationalExpression> inner)
@Nonnull public Iterator<? extends ExpressionRef<? extends RelationalExpression>> getPlannerExpressionChildren()
RelationalExpression
Collections.emptyIterator()
is returned. The returned iterator should
be treated as an immutable object and may throw an exception if Iterator.remove()
is called.
The iterator must return its elements in a consistent order.getPlannerExpressionChildren
in interface RelationalExpression
public int getRelationalChildCount()
getRelationalChildCount
in interface RelationalExpressionWithChildren
public boolean isReverse()
@Nonnull public RelationalExpression getInner()
@API(value=EXPERIMENTAL) public boolean equalsWithoutChildren(@Nonnull RelationalExpression otherExpression)
equalsWithoutChildren
in interface RelationalExpression