Package adql.query

Class ClauseADQL<T extends ADQLObject>

java.lang.Object
adql.query.ADQLList<T>
adql.query.ClauseADQL<T>
All Implemented Interfaces:
ADQLObject, Iterable<T>
Direct Known Subclasses:
ClauseConstraints, ClauseSelect

public class ClauseADQL<T extends ADQLObject> extends ADQLList<T>
Represents an ADQL clause (i.e. SELECT, FROM, WHERE, ...).
  • Constructor Details

    • ClauseADQL

      public ClauseADQL()
      Builds an anonymous ClauseADQL.
    • ClauseADQL

      public ClauseADQL(String name)
      Builds a ClauseADQL considering its name.
      Parameters:
      name - Clause label.
    • ClauseADQL

      protected ClauseADQL(String name, LanguageFeature implementedFeature)
      Builds a ClauseADQL considering its name.

      The language feature is optional. If omitted, a default non-optional one will be created using the list's name.

      Parameters:
      name - Clause label.
      implementedFeature - Language Feature implemented by this list.
      Since:
      2.0
    • ClauseADQL

      public ClauseADQL(ADQLList<T> toCopy) throws Exception
      Builds a ClauseADQL by copying the given one. It copies also all the list items of the given ClauseADQL.
      Parameters:
      toCopy - The ClauseADQL to copy.
      Throws:
      Exception - If there is an unexpected error during the copy.
  • Method Details