|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.sort.SortedIterator
net.sf.saxon.sort.SortedTupleIterator
class SortedTupleIterator
A SortedTupleIterator is a modified SortedIterator. Whereas the sorted iterator used by XSLT computes the sort key of each item in a sequence, using that item as the context item, the SortedTupleIterator used by XQuery precomputes the sort keys from scratch; they do not need to be a function of the item being sorted.
Field Summary |
---|
Fields inherited from class net.sf.saxon.sort.SortedIterator |
---|
base, context, count, index, nodeKeys, recordSize, sortkeys |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
---|
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
---|---|
SortedTupleIterator(XPathContext context,
SequenceIterator base,
FixedSortKeyDefinition[] sortKeys)
|
Method Summary | |
---|---|
protected void |
buildArray()
Override the method that builds the array of values and sort keys. |
Methods inherited from class net.sf.saxon.sort.SortedIterator |
---|
compare, current, getAnother, getLastPosition, getProperties, next, position, setHostLanguage, swap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortedTupleIterator(XPathContext context, SequenceIterator base, FixedSortKeyDefinition[] sortKeys) throws XPathException
XPathException
Method Detail |
---|
protected void buildArray() throws XPathException
buildArray
in class SortedIterator
XPathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |