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 |
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, getProperties, next
public SequenceIterator iterateCurrentGroup() throws XPathException
GroupIterator
iterateCurrentGroup
in interface GroupIterator
iterateCurrentGroup
in class ManualGroupIterator
XPathException
- if a dynamic error occurspublic 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
getLength
in class ManualIterator
XPathException
- if a failure occurs reading the sequenceCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.