Package com.saxonica.functions.sql
Class SQLTable
java.lang.Object
com.saxonica.functions.sql.SQLTable
- All Implemented Interfaces:
Sequence
-
Method Summary
Modifier and TypeMethodDescriptionhead()
Get the first item in the sequence.iterate()
Get aSequenceIterator
over all the items in the sequenceMethods 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 Details
-
head
Description copied from interface:Sequence
Get the first item in the sequence.- Specified by:
head
in 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
Description copied from interface:Sequence
Get aSequenceIterator
over all the items in the sequence- Specified by:
iterate
in interfaceSequence
- Returns:
- an iterator (specifically, a Saxon
SequenceIterator
, which is not aIterator
) over all the items
-