LastPositionFinder
, LookaheadIterator
, SequenceIterator
, GroupIterator
, Sortable
public class SortedGroupIterator extends SortedIterator implements GroupIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
base, comparators, context, count, nodeKeys, position, recordSize, sortKeyEvaluator
Constructor | Description |
---|---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyEvaluator sortKeyEvaluator,
AtomicComparer[] comparators,
Instruction 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, wait
close, current, getAnother, getProperties, next, position
close, compare, current, getAnother, getLastPosition, getProperties, hasNext, next, position, setHostLanguage, swap
public SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyEvaluator sortKeyEvaluator, AtomicComparer[] comparators, Instruction origin)
protected void buildArray() throws XPathException
buildArray
in class SortedIterator
XPathException
public AtomicValue getCurrentGroupingKey()
GroupIterator
getCurrentGroupingKey
in interface GroupIterator
public SequenceIterator iterateCurrentGroup() throws XPathException
GroupIterator
iterateCurrentGroup
in interface GroupIterator
XPathException