public class SortedGroupIterator extends SortedIterator implements GroupIterator
SequenceIterator.Propertybase, comparators, context, count, position, sortKeyEvaluator, values| Constructor and Description |
|---|
SortedGroupIterator(XPathContext context,
GroupIterator base,
SortKeyEvaluator sortKeyEvaluator,
AtomicComparer[] comparators) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildArray()
Override the method that builds the array of values and sort keys.
|
AtomicSequence |
getCurrentGroupingKey()
Get the grouping key of the current group
|
com.saxonica.ee.stream.ManualGroupIterator |
getSnapShot(XPathContext context)
Get a sequence which is a snapshot of this sequence at the current position
|
SequenceIterator |
iterateCurrentGroup()
Get an iterator over the members of the current group, in population
order.
|
getLength, getProperties, hasNext, next, setHostLanguageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, forEachOrFail, getProperties, materialize, nextpublic SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyEvaluator sortKeyEvaluator, AtomicComparer[] comparators)
protected void buildArray()
throws XPathException
buildArray in class SortedIteratorXPathException - in the event of a dynamic errorpublic AtomicSequence getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorpublic SequenceIterator iterateCurrentGroup() throws XPathException
GroupIteratoriterateCurrentGroup in interface GroupIteratorXPathException - if a dynamic error occurspublic com.saxonica.ee.stream.ManualGroupIterator getSnapShot(XPathContext context) throws XPathException
GroupIteratorgetSnapShot in interface GroupIteratorXPathExceptionCopyright (c) 2004-2021 Saxonica Limited. All rights reserved.