Package net.sf.saxon.expr.flwor
Class OrderByClausePush
java.lang.Object
net.sf.saxon.expr.flwor.TuplePush
net.sf.saxon.expr.flwor.OrderByClausePush
Represents the tuple stream delivered by an "order by" clause. This sorts the tuple stream supplied
as its input, and outputs the same tuples but in sorted order.
-
Constructor Summary
ConstructorsConstructorDescriptionOrderByClausePush
(Outputter outputter, TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the tuple stream, indicating that no more tuples will be deliveredvoid
processTuple
(XPathContext context) Process the next tuple.Methods inherited from class net.sf.saxon.expr.flwor.TuplePush
getOutputter
-
Constructor Details
-
OrderByClausePush
public OrderByClausePush(Outputter outputter, TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
-
-
Method Details
-
processTuple
Process the next tuple.- 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 delivered- Overrides:
close
in classTuplePush
- Throws:
XPathException
- if a dynamic error occurs
-