public class MergeGroupingIterator.ManualMergGroupingIterator extends ManualGroupIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
MergeGroupingIterator.ManualMergGroupingIterator() |
Modifier and Type | Method and Description |
---|---|
UnfailingIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence.
|
AtomicSequence |
getCurrentGroupingKey()
Get the grouping key of the current group
|
int |
getLength()
Get the last position (that is, the number of items in the sequence).
|
SequenceIterator<? extends Item> |
iterateCurrentGroup()
Get an iterator over the members of the current group, in population
order.
|
getSnapShot, hasCurrentGroup, hasCurrentGroupingKey, setGroupSlot, setKeySlot
close, current, getProperties, getReverseIterator, hasNext, incrementPosition, materialize, next, position, setContextItem, setLastPositionFinder, setPosition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, current, getProperties, next, position
public MergeGroupingIterator.ManualMergGroupingIterator()
public SequenceIterator<? extends Item> iterateCurrentGroup() throws XPathException
GroupIterator
XPathException
- if a dynamic error occurspublic AtomicSequence getCurrentGroupingKey()
GroupIterator
public UnfailingIterator getAnother()
UnfailingIterator
getAnother
in interface SequenceIterator
getAnother
in interface UnfailingIterator
getAnother
in class ManualIterator
public int getLength() throws XPathException
LastPositionFinder
SequenceIterator.LAST_POSITION_FINDER
getLength
in interface LastPositionFinder
getLength
in class ManualIterator
XPathException
- if an error occurs evaluating the sequence in order to determine
the number of itemsCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.