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 MapItem
head()
Get the first item in the sequence.SequenceIterator
iterate()
Get aSequenceIterator
over 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: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
public SequenceIterator 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
-
-