Package net.sf.saxon.expr.flwor
Class WindowClause.Window
- java.lang.Object
-
- net.sf.saxon.expr.flwor.WindowClause.Window
-
- Enclosing class:
- WindowClause
protected static class WindowClause.Window extends java.lang.Object
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
Fields Modifier and Type Field Description java.util.List<Item>
contents
Item
endItem
Item
endNextItem
int
endPosition
Item
endPreviousItem
boolean
isDespatched
Item
startItem
Item
startNextItem
int
startPosition
Item
startPreviousItem
-
Constructor Summary
Constructors Modifier Constructor Description protected
Window()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDespatched()
Ask whether the tuple corresponding to this window has been despatched to the output tuple stream.boolean
isFinished()
Ask whether we have found the last item in the window
-
-
-
Field Detail
-
startItem
public Item startItem
-
startPosition
public int startPosition
-
startPreviousItem
public Item startPreviousItem
-
startNextItem
public Item startNextItem
-
endItem
public Item endItem
-
endPosition
public int endPosition
-
endPreviousItem
public Item endPreviousItem
-
endNextItem
public Item endNextItem
-
contents
public java.util.List<Item> contents
-
isDespatched
public boolean isDespatched
-
-
Method Detail
-
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.
-
-