Package com.saxonica.functions.sql

## Class SQLTable

- java.lang.Object
- - com.saxonica.functions.sql.SQLTable

- All Implemented Interfaces:
    `Sequence`

      public class SQLTable
      extends java.lang.Object
      implements Sequence

- - ### 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 a `SequenceIterator` 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 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()
                                   throws XPathException

      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
      Throws:
        `XPathException` - in the situation where the sequence is evaluated lazily, and constructing an iterator over the items causes a dynamic error.