Package net.sf.saxon.expr.flwor
Class WindowClause.Window
java.lang.Object
net.sf.saxon.expr.flwor.WindowClause.Window
- Enclosing class:
WindowClause
Information about a window: the items making up the window, as well as the variables relating to the
start and end of the window, and the status of the winoow in relation to the processing of the current
input sequence.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
int
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Ask whether the tuple corresponding to this window has been despatched to the output tuple stream.boolean
Ask whether we have found the last item in the window
-
Field Details
-
startItem
-
startPosition
public int startPosition -
startPreviousItem
-
startNextItem
-
endItem
-
endPosition
public int endPosition -
endPreviousItem
-
endNextItem
-
contents
-
despatched
public boolean despatched
-
-
Constructor Details
-
Window
protected Window()
-
-
Method Details
-
isFinished
public boolean isFinished()Ask whether we have found the last item in the window- Returns:
- true if we have found the last item; false if we are still looking for it.
-
isDespatched
public boolean isDespatched()Ask whether the tuple corresponding to this window has been despatched to the output tuple stream. This does not always happen immediately the end item is determined, because tuples corresponding to the various windows must be despached in order of their start items.- Returns:
- true if the tuple corresponding to this window has been despatched.
-