Modifier and Type | Field and Description |
---|---|
protected AtomicComparer[] |
comparers |
Constructor and Description |
---|
OrderByClausePush(TuplePush destination,
TupleExpression tupleExpr,
OrderByClause orderBy,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the tuple stream, indicating that no more tuples will be delivered
|
int |
compare(int a,
int b)
Compare two objects within this Sortable, identified by their position.
|
void |
processTuple(XPathContext context)
Process the next tuple.
|
void |
swap(int a,
int b)
Swap two objects within this Sortable, identified by their position.
|
protected AtomicComparer[] comparers
public OrderByClausePush(TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
public void processTuple(XPathContext context) throws XPathException
processTuple
in class TuplePush
context
- the dynamic evaluation contextXPathException
- if a dynamic error occurspublic int compare(int a, int b)
public void swap(int a, int b)
public void close() throws XPathException
close
in class TuplePush
XPathException
- if a dynamic error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.