Package adql.query

Interface ADQLObject

    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of this object in ADQL.
        Returns:
        The name of this ADQL object.
      • getPosition

        TextPosition getPosition()

        Gets the position of this object/token in the ADQL query.

        By default, no position should be set.

        Returns:
        Position of this ADQL item in the ADQL query, or NULL if not written originally in the query (for example, if added afterwards.
        Since:
        1.4
      • toADQL

        java.lang.String toADQL()
        Gets the ADQL expression of this object.
        Returns:
        The corresponding ADQL expression.
      • getCopy

        ADQLObject getCopy()
                    throws java.lang.Exception
        Gets a (deep) copy of this ADQL object.
        Returns:
        The copy of this ADQL object.
        Throws:
        java.lang.Exception - If there is any error during the copy.
      • adqlIterator

        ADQLIterator adqlIterator()

        Gets an iterator on the intern ADQL objects.

        Note:The returned iterator is particularly used by a ISearchHandler extension to browse a whole ADQL tree.

        Returns:
        An ADQL objects iterator.
        See Also:
        ADQLIterator, ISearchHandler