Package com.saxonica.functions.sql
Class SQLTable
- java.lang.Object
-
- com.saxonica.functions.sql.SQLTable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapItemhead()Get the first item in the sequence.SequenceIteratoriterate()Get aSequenceIteratorover all the items in the sequence-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable, materialize
-
-
-
-
Method Detail
-
head
public MapItem head() throws XPathException
Description copied from interface:SequenceGet the first item in the sequence.- Specified by:
headin interfaceSequence- Returns:
- the first item in the sequence if there is one, or null if the sequence is empty
- Throws:
XPathException- in the situation where the sequence is evaluated lazily, and evaluation of the first item causes a dynamic error.
-
iterate
public SequenceIterator iterate() throws XPathException
Description copied from interface:SequenceGet aSequenceIteratorover all the items in the sequence- Specified by:
iteratein interfaceSequence- Returns:
- an iterator (specifically, a Saxon
SequenceIterator, which is not aIterator) over all the items - Throws:
XPathException- in the situation where the sequence is evaluated lazily, and constructing an iterator over the items causes a dynamic error.
-
-