|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.expr.flwor.TuplePull com.saxonica.expr.flwor.WindowClausePull
public class WindowClausePull
Implement a sliding or tumbling window clause of a FLWOR expression in tuple-pull mode. The entire window processing is activated once for each input tuple, and it generates one output tuple for each identified window.
Constructor Summary | |
---|---|
WindowClausePull(TuplePull source,
WindowClause windowClause,
XPathContext context)
|
Method Summary | |
---|---|
void |
close()
Close the tuple stream, indicating that no more tuples will be supplied |
boolean |
nextTuple(XPathContext context)
Move on to the next tuple. |
void |
processWindow(WindowClause.Window w,
XPathContext context)
Despatch a window to the output tuple stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowClausePull(TuplePull source, WindowClause windowClause, XPathContext context)
Method Detail |
---|
public boolean nextTuple(XPathContext context) throws XPathException
nextTuple
in class TuplePull
context
- the dynamic evaluation context
XPathException
public void processWindow(WindowClause.Window w, XPathContext context) throws XPathException
w
- the window to be despatchedcontext
- the dynamic evaluation context
XPathException
public void close()
close
in class TuplePull
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |