Package net.sf.saxon.expr.flwor
Class TuplePush
- java.lang.Object
-
- net.sf.saxon.expr.flwor.TuplePush
-
- Direct Known Subclasses:
CountClausePush
,DiagnosticClausePush
,ForClauseOuterPush
,ForClausePush
,ForMemberClausePush
,GroupByClausePush
,LetClausePush
,OrderByClausePush
,ReturnClausePush
,TraceClausePush
,WhereClausePush
,WindowClausePush
public abstract class TuplePush extends java.lang.Object
Abtract class representing a tuple stream (used to evaluate a FLWOR expression) in push mode (where the provider of tuples activates the consumer of those tuples)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
Close the tuple stream, indicating that no more tuples will be suppliedprotected Outputter
getOutputter()
abstract void
processTuple(XPathContext context)
Notify the availability of the next tuple.
-
-
-
Constructor Detail
-
TuplePush
protected TuplePush(Outputter outputter)
-
-
Method Detail
-
getOutputter
protected Outputter getOutputter()
-
processTuple
public abstract void processTuple(XPathContext context) throws XPathException
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- Parameters:
context
- the dynamic evaluation context- Throws:
XPathException
- if a dynamic error occurs
-
close
public void close() throws XPathException
Close the tuple stream, indicating that no more tuples will be supplied- Throws:
XPathException
- if a dynamic error occurs
-
-