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
| Parameter | Type | Description |
|---|---|---|
type | WindowType | Whether the window is sliding or tumbling. |
variable | ASTVariable | The window variable bound to each window's current item. |
expr | ASTNode | The sequence expression being windowed. |
start | WindowBoundary | The start-condition boundary specification. |
end? | WindowBoundary | The optional end-condition boundary specification; absent means the window ends at the sequence end. |
Returns
FLWORWindow
Properties
end?
optionalend?: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
| Parameter | Type |
|---|---|
visitor | XQueryVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret