Modifier and Type | Field and Description |
---|---|
protected AtomicComparer[] |
comparers |
Constructor and Description |
---|
OrderByClausePull(TuplePull base,
TupleExpression tupleExpr,
OrderByClause orderBy,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the tuple stream, indicating that although not all tuples have been read,
no further tuples are required and resources can be released
|
int |
compare(int a,
int b)
Compare two objects within this Sortable, identified by their position.
|
boolean |
nextTuple(XPathContext context)
Move on to the next tuple.
|
void |
swap(int a,
int b)
Swap two objects within this Sortable, identified by their position.
|
protected AtomicComparer[] comparers
public OrderByClausePull(TuplePull base, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
public boolean nextTuple(XPathContext context) throws XPathException
nextTuple
in class TuplePull
context
- the dynamic evaluation contextXPathException
public int compare(int a, int b)
public void swap(int a, int b)
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.