public static class GroupByIterator.ManualGroupByIterator
extends com.saxonica.ee.stream.ManualGroupIterator
| Constructor and Description |
|---|
ManualGroupByIterator(java.util.List<java.util.List<Item>> groups,
java.util.List<AtomicSequence> groupKeys,
int position) |
| 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, startNewCurrentGroupcurrent, getResidue, getReverseIterator, hasNext, incrementPosition, isActuallyGrounded, materialize, next, position, setContextItem, setLengthFinder, setPosition, supportsGetLength, supportsHasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, discharge, nextpublic ManualGroupByIterator(java.util.List<java.util.List<Item>> groups, java.util.List<AtomicSequence> groupKeys, int position)
public SequenceIterator iterateCurrentGroup()
GroupIteratoriterateCurrentGroup in interface GroupIteratoriterateCurrentGroup in class com.saxonica.ee.stream.ManualGroupIteratorpublic AtomicSequence getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorgetCurrentGroupingKey in class com.saxonica.ee.stream.ManualGroupIteratorpublic int getLength()
FocusIteratorgetLength in interface LastPositionFindergetLength in interface FocusIteratorgetLength in class ManualIteratorCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.