public class SortedGroupIterator extends SortedIterator implements GroupIterator
base, comparators, context, count, nodeKeys, position, recordSize, sortKeyEvaluatorGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyEvaluator sortKeyEvaluator,
AtomicComparer[] comparators,
Instruction origin) |
| Modifier and Type | Method and 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.
|
close, compare, current, getAnother, getLastPosition, getProperties, hasNext, next, position, setHostLanguage, swapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, current, getAnother, getProperties, next, positionpublic SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyEvaluator sortKeyEvaluator, AtomicComparer[] comparators, Instruction origin)
protected void buildArray()
throws XPathException
buildArray in class SortedIteratorXPathExceptionpublic AtomicValue getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorpublic SequenceIterator iterateCurrentGroup() throws XPathException
GroupIteratoriterateCurrentGroup in interface GroupIteratorXPathException