public class OrderByNode extends SolutionModifierBase implements Iterable<OrderByExpr>
QueryNodeBase.Annotations
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
OrderByNode() |
OrderByNode(BOp[] args,
Map<String,Object> anns)
Shallow copy constructor.
|
OrderByNode(OrderByNode op)
Deep copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addExpr(OrderByExpr orderBy) |
boolean |
isEmpty() |
Iterator<OrderByExpr> |
iterator() |
boolean |
removeOrderBy(OrderByExpr orderBy) |
int |
size() |
String |
toString(int indent)
The contract of this method at this level is under-specified.
|
getQueryHints, toString
addExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHints
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString
finalize, getClass, notify, notifyAll, wait, wait, wait
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString
getProperty
public OrderByNode(OrderByNode op)
public OrderByNode()
public void addExpr(OrderByExpr orderBy)
public boolean removeOrderBy(OrderByExpr orderBy)
public int size()
public boolean isEmpty()
public Iterator<OrderByExpr> iterator()
iterator
in interface Iterable<OrderByExpr>
public String toString(int indent)
CoreBaseBOp
CoreBaseBOp.toString()
Or:
- return a pretty-print representation of the object with indent
Note that the former contract may or may not include recursive descent through a tree-like
object, whereas the latter almost certainly does.toString
in interface BOp
toString
in interface IQueryNode
toString
in class CoreBaseBOp
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.