public class GroupByIterator.ManualGroupByIterator extends ManualGroupIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
GroupByIterator.ManualGroupByIterator() |
| 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, setKeySlotclose, current, getProperties, getReverseIterator, hasNext, incrementPosition, materialize, next, position, setContextItem, setLastPositionFinder, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, current, getProperties, next, positionpublic GroupByIterator.ManualGroupByIterator()
public SequenceIterator<? extends Item> iterateCurrentGroup() throws XPathException
GroupIteratorXPathException - if a dynamic error occurspublic AtomicSequence getCurrentGroupingKey()
GroupIteratorpublic UnfailingIterator getAnother()
UnfailingIteratorgetAnother in interface SequenceIteratorgetAnother in interface UnfailingIteratorgetAnother in class ManualIteratorpublic int getLength()
throws XPathException
LastPositionFinderSequenceIterator.LAST_POSITION_FINDERgetLength in interface LastPositionFindergetLength in class ManualIteratorXPathException - if an error occurs evaluating the sequence in order to determine
the number of itemsCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.