LastPositionFinder, GroupIterator, Sortable, SequenceIterator, LookaheadIteratorpublic class SortedGroupIterator extends SortedIterator implements GroupIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEADbase, comparators, context, count, position, sortKeyEvaluator, values| Constructor | Description |
|---|---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyEvaluator sortKeyEvaluator,
AtomicComparer[] comparators) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
buildArray() |
Override the method that builds the array of values and sort keys.
|
Value |
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, waitclose, current, getAnother, getProperties, next, positionclose, compare, current, getAnother, getLength, getProperties, hasNext, next, position, setHostLanguage, swappublic SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyEvaluator sortKeyEvaluator, AtomicComparer[] comparators)
protected void buildArray()
throws XPathException
buildArray in class SortedIteratorXPathExceptionpublic Value getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorpublic SequenceIterator iterateCurrentGroup() throws XPathException
GroupIteratoriterateCurrentGroup in interface GroupIteratorXPathException - if a dynamic error occurs