Package org.rumbledb.expressions.flowr
Class OrderByClause
java.lang.Object
org.rumbledb.expressions.Node
org.rumbledb.expressions.flowr.Clause
org.rumbledb.expressions.flowr.OrderByClause
-
Field Summary
Fields inherited from class org.rumbledb.expressions.flowr.Clause
clauseType, nextClause, previousClause, staticContext
Fields inherited from class org.rumbledb.expressions.Node
highestExecutionMode
-
Constructor Summary
ConstructorsConstructorDescriptionOrderByClause
(List<OrderByClauseSortingKey> exprs, boolean stable, ExceptionMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(AbstractNodeVisitor<T> visitor, T argument) Accept method for the visitor pattern.Returns all children nodes as a list.boolean
isStable()
void
serializeToJSONiq
(StringBuffer sb, int indent) Methods inherited from class org.rumbledb.expressions.flowr.Clause
chainWith, detachInitialLetClauses, detachInitialLetClausesForStatements, getClauseType, getFirstClause, getLastClause, getNextClause, getPreviousClause, getStaticContext, getStaticContextForRuntime, print, setStaticContext
Methods inherited from class org.rumbledb.expressions.Node
getDescendants, getDescendantsMatching, getHighestExecutionMode, getHighestExecutionMode, getMetadata, indentIt, isContextDependent, numberOfUnsetExecutionModes, setHighestExecutionMode, toString
-
Constructor Details
-
OrderByClause
public OrderByClause(List<OrderByClauseSortingKey> exprs, boolean stable, ExceptionMetadata metadata)
-
-
Method Details
-
getChildren
Description copied from class:Node
Returns all children nodes as a list. The list is new and can be modified at will by the caller.- Specified by:
getChildren
in classNode
- Returns:
- the children nodes as a list.
-
serializeToJSONiq
- Specified by:
serializeToJSONiq
in classNode
-
accept
Description copied from class:Node
Accept method for the visitor pattern. -
isStable
public boolean isStable() -
getSortingKeys
-