public class SortedGroupIterator extends SortedIterator implements GroupIterator
base, comparators, context, count, position, sortKeyEvaluator, valuesATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| 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
|
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.
|
close, compare, getLength, getProperties, hasNext, next, setHostLanguage, swapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getProperties, nextpublic SortedGroupIterator(XPathContext context, GroupIterator base, SortKeyEvaluator sortKeyEvaluator, AtomicComparer[] comparators)
protected void buildArray()
throws XPathException
buildArray in class SortedIteratorXPathExceptionpublic AtomicSequence getCurrentGroupingKey()
GroupIteratorgetCurrentGroupingKey in interface GroupIteratorpublic SequenceIterator iterateCurrentGroup() throws XPathException
GroupIteratoriterateCurrentGroup in interface GroupIteratorXPathException - if a dynamic error occurspublic ManualGroupIterator getSnapShot(XPathContext context) throws XPathException
GroupIteratorgetSnapShot in interface GroupIteratorXPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.