| Modifier and Type | Field | Description |
|---|---|---|
protected AtomicComparer[] |
comparers |
|
(package private) XPathContext |
context |
|
(package private) int |
position |
| Constructor | Description |
|---|---|
OrderByClausePush(TuplePush destination,
TupleExpression tupleExpr,
OrderByClause orderBy,
XPathContext context) |
| Modifier and Type | Method | 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
XPathContext context
int position
public OrderByClausePush(TuplePush destination, TupleExpression tupleExpr, OrderByClause orderBy, XPathContext context)
public void processTuple(XPathContext context) throws XPathException
processTuple in class TuplePushcontext - 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 TuplePushXPathException - if a dynamic error occurs