LastPositionFinder, SequenceIterator, GroupIterator, Sortablepublic class SortedGroupIterator extends SortedIterator implements GroupIterator
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEADbase, comparators, context, count, index, nodeKeys, recordSize, sortkeys| Constructor | Description |
|---|---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyDefinition[] sortKeys,
java.util.Comparator[] comparators,
InstructionInfoProvider origin) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
buildArray() |
Override the method that builds the array of values and sort keys.
|
AtomicValue |
getCurrentGroupingKey() |
Get the grouping key of the current group
|
SequenceIterator |
iterateCurrentGroup() |
Get an iterator over the members of the current group, in population
order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrent, getAnother, getProperties, next, positioncompare, current, getAnother, getLastPosition, getProperties, next, position, setHostLanguage, swappublic SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyDefinition[] sortKeys, java.util.Comparator[] comparators, InstructionInfoProvider origin)
protected void buildArray()
throws XPathException
buildArray in class SortedIteratorXPathExceptionpublic AtomicValue getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorpublic SequenceIterator iterateCurrentGroup() throws XPathException
GroupIteratoriterateCurrentGroup in interface GroupIteratorXPathException