Package net.sf.saxon.expr.flwor
Class OrderByClausePush
- java.lang.Object
-
- net.sf.saxon.expr.flwor.TuplePush
-
- net.sf.saxon.expr.flwor.OrderByClausePush
-
public class OrderByClausePush extends TuplePush
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
Constructors Constructor Description OrderByClausePush(Outputter outputter, TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
OrderByClausePush
public OrderByClausePush(Outputter outputter, TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
-
-
Method Detail
-
processTuple
public void processTuple(XPathContext context) throws XPathException
Process the next tuple.- Specified by:
processTuple
in classTuplePush
- 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 delivered- Overrides:
close
in classTuplePush
- Throws:
XPathException
- if a dynamic error occurs
-
-