public interface GroupIterator extends SequenceIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Modifier and Type | Method and Description | 
|---|---|
| AtomicSequence | getCurrentGroupingKey()Get the grouping key of the current group | 
| ManualGroupIterator | getSnapShot(XPathContext context)Get a sequence which is a snapshot of this sequence at the current position | 
| boolean | hasCurrentGroup()Ask whether this iterator has a current group | 
| boolean | hasCurrentGroupingKey()Ask whether this iterator has a current grouping key | 
| SequenceIterator<? extends Item> | iterateCurrentGroup()Get an iterator over the members of the current group, in population
 order. | 
| void | setGroupSlot(int groupSlot)Set a local variable slot to hold the value of the current group | 
| void | setKeySlot(int keySlot)Set a local variable slot to hold the value of the current grouping key | 
close, current, getAnother, getProperties, next, positionvoid setGroupSlot(int groupSlot)
groupSlot - the stack frame position of the variable holding the current groupvoid setKeySlot(int keySlot)
keySlot - the stack frame position of the variable holding the current grouping keyAtomicSequence getCurrentGroupingKey()
SequenceIterator<? extends Item> iterateCurrentGroup() throws XPathException
XPathException - if a dynamic error occursboolean hasCurrentGroup()
boolean hasCurrentGroupingKey()
ManualGroupIterator getSnapShot(XPathContext context) throws XPathException
XPathExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.