Skip to main content

Class: FLWORWindow

Defined in: lang-xquery/src/ast/flwor.ts:71

XQuery for tumbling/sliding window clause partitioning a sequence into windows.

Implements

Constructors

Constructor

new FLWORWindow(type, variable, expr, start, end?): FLWORWindow

Defined in: lang-xquery/src/ast/flwor.ts:72

Parameters

ParameterTypeDescription
typeWindowTypeWhether the window is sliding or tumbling.
variableASTVariableThe window variable bound to each window's current item.
exprASTNodeThe sequence expression being windowed.
startWindowBoundaryThe start-condition boundary specification.
end?WindowBoundaryThe optional end-condition boundary specification; absent means the window ends at the sequence end.

Returns

FLWORWindow

Properties

end?

optional end?: WindowBoundary

Defined in: lang-xquery/src/ast/flwor.ts:82

The optional end-condition boundary specification; absent means the window ends at the sequence end.


expr

expr: ASTNode

Defined in: lang-xquery/src/ast/flwor.ts:78

The sequence expression being windowed.


start

start: WindowBoundary

Defined in: lang-xquery/src/ast/flwor.ts:80

The start-condition boundary specification.


type

type: WindowType

Defined in: lang-xquery/src/ast/flwor.ts:74

Whether the window is sliding or tumbling.


variable

variable: ASTVariable

Defined in: lang-xquery/src/ast/flwor.ts:76

The window variable bound to each window's current item.

Methods

accept()

accept<Ret, Arg>(visitor, arg?): Ret

Defined in: lang-xquery/src/ast/flwor.ts:85

Dispatches this node to the matching method on visitor.

Type Parameters

Type Parameter
Ret
Arg

Parameters

ParameterType
visitorXQueryVisitor<Ret, Arg>
arg?Arg

Returns

Ret

Implementation of

ASTNode.accept