public class GroupByIterator.ManualGroupByIterator extends ManualGroupIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
ManualGroupByIterator() |
Modifier and Type | Method and Description |
---|---|
AtomicSequence |
getCurrentGroupingKey()
Get the grouping key of the current group
|
int |
getLength()
Get the position of the last item in the sequence
|
SequenceIterator<Item<?>> |
iterateCurrentGroup()
Get an iterator over the members of the current group, in population
order.
|
appendToCurrentGroup, currentGroupContains, getSnapShot, setCurrentGroup, setCurrentGroupingKey, startNewCurrentGroup
close, current, getProperties, getResidue, getReverseIterator, hasNext, incrementPosition, materialize, next, position, setContextItem, setLastPositionFinder, setPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, forEachOrFail, getProperties, materialize, next
firstWith, forEach, toGroundedValue, toList
public SequenceIterator<Item<?>> iterateCurrentGroup()
GroupIterator
iterateCurrentGroup
in interface GroupIterator
iterateCurrentGroup
in class ManualGroupIterator
public AtomicSequence getCurrentGroupingKey()
GroupIterator
getCurrentGroupingKey
in interface GroupIterator
getCurrentGroupingKey
in class ManualGroupIterator
public int getLength() throws XPathException
FocusIterator
getLength
in interface LastPositionFinder
getLength
in interface FocusIterator<Item<?>>
getLength
in class ManualIterator<Item<?>>
XPathException
- if a failure occurs reading the sequenceCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.