# Package adql.db

- Interface Summary
  Interface | Description
  --- | ---
  DBColumn | Definition of a valid target column.
  DBTable | Definition of a valid target table.
  SearchTableApi | Simple interface about a class which allows to search for a specified `ADQLTable`.

- Class Summary
  Class | Description
  --- | ---

  DBChecker

  This `QueryChecker` implementation is able to do the following verifications on an ADQL query: Check the existence of all table and column references found in a query Resolve all unknown functions as supported User Defined Functions (UDFs) Check whether all used geometrical functions are supported Check whether all used coordinate systems are supported Check that types of columns and UDFs match with their context

  DBChecker.BinarySearch<T,​S> | Implement the binary search algorithm over a sorted array.
  DBCommonColumn | This is a special column which exists only after a NATURAL JOIN or a JOIN ...
  DBTableAlias | This `DBTable` wraps another `DBTable` with a different ADQL and DB name.
  DBType | Describe a full column type as it is described in the IVOA document of TAP.
  DefaultDBColumn | Default implementation of `DBColumn`.
  DefaultDBTable | Default implementation of `DBTable`.
  FunctionDef | Definition of any function that could be used in ADQL queries.
  FunctionDef.FunctionParam | Definition of a function parameter.
  SearchColumnList | A list of `DBColumn` elements ordered by their ADQL name in an ascending manner.
  SearchTableList | A list of `DBTable` elements ordered by their ADQL name in an ascending manner.
  STCS | This class helps dealing with the subset of STC-S expressions described by the section "6 Use of STC-S in TAP (informative)" of the TAP Recommendation 1.0 (27th March 2010).
  STCS.CoordSys | Object representation of an STC coordinate system.
  STCS.Region | Object representation of an STC region.

- Enum Summary
  Enum | Description
  --- | ---
  DBType.DBDatatype | List of all datatypes declared in the IVOA recommendation of TAP (in the section UPLOAD).
  STCS.Flavor | List of all possible flavors in an STC expression.
  STCS.Frame | List of all possible frames in an STC expression.
  STCS.RefPos | List of all possible reference positions in an STC expression.
  STCS.RegionType | List all possible region types allowed in an STC-S expression.