Package net.sf.saxon.expr.sort
Class MergeGroupingIterator.ManualMergeGroupingIterator
- java.lang.Object
- 
- net.sf.saxon.tree.iter.ManualIterator
- 
- com.saxonica.ee.stream.ManualGroupIterator
- 
- net.sf.saxon.expr.sort.MergeGroupingIterator.ManualMergeGroupingIterator
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable,- LastPositionFinder,- GroupIterator,- FocusIterator,- SequenceIterator,- GroundedIterator,- LookaheadIterator,- ReversibleIterator
 - Enclosing class:
- MergeGroupingIterator
 
 public static class MergeGroupingIterator.ManualMergeGroupingIterator extends ManualGroupIterator 
- 
- 
Constructor SummaryConstructors Constructor Description ManualMergeGroupingIterator(java.util.List<Item> currentGroup, AtomicSequence currentGroupingKey, int position, ObjectValue<ItemWithMergeKeys> currenti)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicSequencegetCurrentGroupingKey()Get the grouping key of the current groupintgetLength()Get the position of the last item in the sequenceSequenceIteratoriterateCurrentGroup()Get an iterator over the members of the current group, in population order.- 
Methods inherited from class com.saxonica.ee.stream.ManualGroupIteratorappendToCurrentGroup, currentGroupContains, getSnapShot, setCurrentGroup, setCurrentGroupingKey, startNewCurrentGroup
 - 
Methods inherited from class net.sf.saxon.tree.iter.ManualIteratorcurrent, getResidue, getReverseIterator, hasNext, incrementPosition, isActuallyGrounded, materialize, next, position, setContextItem, setLengthFinder, setPosition, supportsGetLength, supportsHasNext
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface net.sf.saxon.om.SequenceIteratorclose, discharge, next
 
- 
 
- 
- 
- 
Constructor Detail- 
ManualMergeGroupingIteratorpublic ManualMergeGroupingIterator(java.util.List<Item> currentGroup, AtomicSequence currentGroupingKey, int position, ObjectValue<ItemWithMergeKeys> currenti) 
 
- 
 - 
Method Detail- 
iterateCurrentGrouppublic SequenceIterator iterateCurrentGroup() Description copied from interface:GroupIteratorGet an iterator over the members of the current group, in population order. This must always be a clean iterator, that is, an iterator that starts at the first item of the group.- Specified by:
- iterateCurrentGroupin interface- GroupIterator
- Overrides:
- iterateCurrentGroupin class- ManualGroupIterator
- Returns:
- an iterator over all the members of the current group, in population order.
 
 - 
getCurrentGroupingKeypublic AtomicSequence getCurrentGroupingKey() Description copied from interface:GroupIteratorGet the grouping key of the current group- Specified by:
- getCurrentGroupingKeyin interface- GroupIterator
- Overrides:
- getCurrentGroupingKeyin class- ManualGroupIterator
- Returns:
- the current grouping key in the case of group-by or group-adjacent, or null in the case of group-starting-with and group-ending-with
 
 - 
getLengthpublic int getLength() Description copied from interface:FocusIteratorGet the position of the last item in the sequence- Specified by:
- getLengthin interface- FocusIterator
- Specified by:
- getLengthin interface- LastPositionFinder
- Overrides:
- getLengthin class- ManualIterator
- Returns:
- the position of the last item
 
 
- 
 
-