Package org.rumbledb.expressions.flowr
Class WindowClause
java.lang.Object
org.rumbledb.expressions.Node
org.rumbledb.expressions.flowr.Clause
org.rumbledb.expressions.flowr.WindowClause
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRecord to keep the start or end condition of a window clausestatic enumstatic final recordRecord used to keep track of variables binding of a window condition All of these variables are optional (can be null) -
Field Summary
Fields inherited from class org.rumbledb.expressions.flowr.Clause
clauseType, nextClause, previousClause, staticContextFields inherited from class org.rumbledb.expressions.Node
highestExecutionMode, isInSequentialBlock -
Constructor Summary
ConstructorsConstructorDescriptionWindowClause(WindowClause.WindowType windowType, Name windowVariable, SequenceType sequenceType, Expression expression, WindowClause.WindowCondition startCondition, WindowClause.WindowCondition endCondition, ExceptionMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor, T argument) Accept method for the visitor pattern.Returns all children nodes as a list.voidserializeToJSONiq(StringBuilder sb, int indent) Methods inherited from class org.rumbledb.expressions.flowr.Clause
chainWith, detachInitialLetClauses, detachInitialLetClausesForStatements, getFirstClause, getLastClause, getStaticContextForRuntime, printMethods inherited from class org.rumbledb.expressions.Node
getDescendants, getDescendantsMatching, getHighestExecutionMode, indentIt, isContextDependent, numberOfUnsetExecutionModes, setIsInSequentialBlock, toString
-
Constructor Details
-
WindowClause
public WindowClause(WindowClause.WindowType windowType, Name windowVariable, SequenceType sequenceType, Expression expression, WindowClause.WindowCondition startCondition, WindowClause.WindowCondition endCondition, ExceptionMetadata metadata)
-
-
Method Details
-
getActualSequenceType
-
getSequenceType
-
getChildren
Description copied from class:NodeReturns all children nodes as a list. The list is new and can be modified at will by the caller.- Specified by:
getChildrenin classNode- Returns:
- the children nodes as a list.
-
accept
Description copied from class:NodeAccept method for the visitor pattern. -
serializeToJSONiq
- Specified by:
serializeToJSONiqin classNode
-