public class GroupStartingIterator extends GroupMatchingIterator implements LookaheadIterator<Item<?>>, GroupIterator
baseContext, current, currentMembers, next, pattern, population, position, runningContext, select
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
GroupStartingIterator(Expression select,
Pattern startPattern,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
advance() |
int |
getLength()
Get the last position (that is, the number of items in the sequence).
|
close, getCurrentGroupingKey, getProperties, getSnapShot, hasNext, iterateCurrentGroup, next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext
getCurrentGroupingKey, getSnapShot, iterateCurrentGroup
close, forEachOrFail, getProperties, materialize, next
public GroupStartingIterator(Expression select, Pattern startPattern, XPathContext context) throws XPathException
XPathException
public int getLength() throws XPathException
LastPositionFinder
SequenceIterator.LAST_POSITION_FINDER
getLength
in interface LastPositionFinder
XPathException
- if an error occurs evaluating the sequence in order to determine
the number of itemsprotected void advance() throws XPathException
advance
in class GroupMatchingIterator
XPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.