Package net.sf.saxon.expr.flwor
Class WindowClausePush
java.lang.Object
net.sf.saxon.expr.flwor.TuplePush
net.sf.saxon.expr.flwor.WindowClausePush
Implement a sliding or tumbling window clause of a FLWOR expression in tuple-push mode. The entire window processing
is activated once for each input tuple, and it generates one output tuple for each identified window.
-
Constructor Summary
ConstructorsConstructorDescriptionWindowClausePush
(Outputter outputter, TuplePush destination, WindowClause windowClause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the tuple stream, indicating that no more tuples will be suppliedvoid
processTuple
(XPathContext context) Notify the availability of the next tuple.Methods inherited from class net.sf.saxon.expr.flwor.TuplePush
getOutputter
-
Constructor Details
-
WindowClausePush
-
-
Method Details
-
processTuple
Notify the availability of the next tuple. Before calling this method, the supplier of the tuples must set all the variables corresponding to the supplied tuple in the local stack frame associated with the context object- Specified by:
processTuple
in classTuplePush
- Parameters:
context
- the dynamic evaluation context- Throws:
XPathException
- if a dynamic error occurs
-
close
Close the tuple stream, indicating that no more tuples will be supplied- Overrides:
close
in classTuplePush
- Throws:
XPathException
- if a dynamic error occurs
-