public class SortedGroupIterator extends SortedIterator implements GroupIterator
base, comparators, context, count, index, nodeKeys, recordSize, sortkeys
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyDefinition[] sortKeys,
java.util.Comparator[] comparators,
InstructionInfoProvider 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.
|
compare, current, getAnother, getLastPosition, getProperties, next, position, setHostLanguage, swap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
current, getAnother, getProperties, next, position
public SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyDefinition[] sortKeys, java.util.Comparator[] comparators, InstructionInfoProvider 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