Class SQLTable

java.lang.Object
com.saxonica.functions.sql.SQLTable
All Implemented Interfaces:
Sequence

public class SQLTable extends Object implements Sequence
  • Method Details

    • head

      public MapItem head() throws XPathException
      Description copied from interface: Sequence
      Get the first item in the sequence.
      Specified by:
      head in interface Sequence
      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 a SequenceIterator over all the items in the sequence
      Specified by:
      iterate in interface Sequence
      Returns:
      an iterator (specifically, a Saxon SequenceIterator, which is not a Iterator) over all the items