All Classes and Interfaces
Class
Description
Represents the complete (literal) reference to a column
({schema(s)}.{table}.{column}).
An ADQL constraint (comparison, in, exists, ...) must implement this interface.
Represents any kind of function.
API of a specific ADQL grammar's parser.
API helping to iterate over a set of
Token
s.Common partial implementation of an
ADQLGrammar
.Lets iterating on all ADQL objects inside any ADQL object.
Defines a join between two "tables".
Represents a list of ADQL items.
Lets iterating on all ADQL objects of the given
ADQLList
.This class gathers all main behaviors of any ADQL object (query, clause,
columns, condition, etc...):
to have a name in ADQL,
to be written in ADQL,
to offer a way to search any ADQL item (included itself),
to get its position in the original ADQL query,
to be defined as an ADQL language feature.
Any ADQL operand (an operation, a constant, a column name, a function, ...) must implement this interface
and indicates whether it corresponds to a numeric, a string or a geometrical region value.
Represents an item of the ORDER BY list: that's to say a column reference
or a value expression, and an optional sorting indication (ASC, DESC).
Parser of ADQL expressions.
Enumeration of all supported versions of the ADQL grammar.
Object representation of an ADQL query or sub-query.
This class lets the
ADQLParser
to build an object representation of
an ADQL query.Type of table JOIN.
Object representation of an ADQL's rows set.
It represents any item of the clause FROM: a table name or a sub-query.
Translates ADQL objects into any language (i.e.
It represents the AREA function of ADQL.
It represents the BETWEEN predicate of SQL and ADQL.
It represents the box function of the ADQL language.
Object representation of the ADQL CAST function.
It represents the CENTROID function of the ADQL language.
State of the
DBChecker
at one recursion level inside an ADQL query.It represents the CIRCLE function of the ADQL language.
Represents an ADQL clause (i.e.
Represents a clause which deals with
ADQLConstraint
s
(i.e.Object representation of an OFFSET clause.
The SELECT clause of an ADQL query.
Object representation of the COALESCE function of ADQL.
Represents a reference to a selected column by an index.
Represents a comparison (numeric or not) between two operands.
Gathers all comparison operators (numeric or not).
Represents a concatenation in ADQL
(ex:
"_s_ra" || ':' || "_s_dec"
).Represents a parenthesized list of constraints.
It represents the CONTAINS function of the ADQL language.
Object representation of an STC coordinate system.
List of all possible flavors in an STC expression.
List of all possible frames in an STC expression.
List of all possible reference positions in an STC expression.
Cross join.
Representation of a non-standard target type of the CAST function.
This class helps dealing with the subset of the DALI representation for
geometric regions described by the sections 3.3.5, 3.3.6 and 3.3.7 of the
"Data Access Layer Interface 1.1" document.
ADQL Query verification
Implement the binary search algorithm over a sorted array.
Definition of a valid target column.
This is a special column which exists only after a NATURAL JOIN or
a JOIN ...
Generic implementation of any kind of ADQL/DB identifier.
Definition of a valid target table.
Describe a full column type as it is described in the IVOA document of TAP.
List of all datatypes declared in the IVOA recommendation of TAP (in the section UPLOAD).
Default implementation of
DBColumn
.Default implementation of
DBTable
.Deprecated.
It represents the DISTANCE function of the ADQL language.
Represents the predicate EXISTS of SQL and ADQL.
It represents the COORD1 and the COORD2 functions of the ADQL language.
It represents the COORDSYS function the ADQL language.
Set of supported ADQL's language features.
Represents the content of the whole or a part of the clause FROM.
Definition of any function that could be used in ADQL queries.
Definition of a function parameter.
Interface for a custom ADQL function translation.
A
FunctionTranslator
working with a translation pattern.It represents any geometric function of ADQL.
This class represents a parameter of a geometry function
which, in general, is either a GeometryFunction or an UnknownType operand
(e.g.
Lets getting or setting the case sensitivity of an identifier (column, table, schema, catalog or alias)
of an
ADQLColumn
or an ADQLTable
.Important: This class is designed to be filled ONLY by
ADQLParser
!Represent any ADQL identifier (column name, table name or table/column
alias).
It represents the IN predicate of SQL and ADQL.
Inner join.
It represents the INTERSECTS function of the ADQL language.
It represents the IN_UNIT function of ADQL.
Defines an interface for any kind of search/replace handler.
Defines an interface for any kind of search handler.
Represents a comparison between a column to the NULL value.
Implementation of
ADQLTranslator
which translates ADQL queries in
SQL queries.Description of an ADQL's language feature.
It represents the LOWER function of ADQL.
It represents any basic mathematical function.
All types of managed mathematical functions.
Translates all ADQL objects into an SQL interrogation query designed for
MySQL.
Lets putting a minus sign in front of any numeric operand.
Lets apply the logical operator NOT on any constraint.
An ADQL iterator which has no ADQL objects on which iterate.
Special value representing the absence of value (i.e.
A numeric (integer, double, ...) constant.
It represents a simple numeric operation (sum, difference, multiplication and
division) or a bitwise operation (binary AND, OR or XOR).
Type of possible simple numeric operations.
Inner join.
All OUTER JOIN type: left, right and full.
This exception is thrown when parse errors are encountered.
Translates all ADQL objects into the SQL adaptation of Postgres+PgSphere.
Let parse a geometry serialized with the PgSphere syntax.
It represents the POINT function of the ADQL language.
It represents the POLYGON function of the ADQL language.
Translates all ADQL objects into an SQL interrogation query designed for
PostgreSQL.
Used at the end of the parsing of each ADQL query by the
ADQLParser
, to check the generated ADQLSet
object.Tool able to fix some common errors in ADQL queries.
Object representation of a geometric region.
List all possible region types allowed in an STC-S expression.
It represents the REGION function the ADQL language.
In this handler the replacement ADQLObject is always null.
Lets searching all
ADQLColumn
objects.A list of
DBColumn
elements ordered by their ADQL name in an
ascending manner.Handler searching for all
ADQLObject
s declared as optional in the
ADQL language.Simple interface about a class which allows to search for a specified
ADQLTable
.A list of
DBTable
elements ordered by their ADQL name in an ascending
manner.In ADQL it corresponds to the
*
and {tableName}.*
items in the SELECT clause.Represents an item of a SELECT clause.
It represents an operation between two rows sets (UNION, EXCEPT, INTERSECT).
Type of possible operation between two rows sets.
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
Lets searching and replacing ADQL objects which match with the condition defined in the function
SimpleSearchHandler.match(ADQLObject)
.Lets searching ADQL objects which match with the condition defined in the function
SimpleSearchHandler.match(ADQLObject)
.It represents any SQL function (COUNT, MAX, MIN, AVG, SUM, etc...).
All the types of SQL functions (COUNT, SUM, AVG, etc...).
Special extension of
ADQLQueryFactory
for MS SQL Server.Special implementation of
InnerJoin
for MS SQL Server.Special implementation of
OuterJoin
for MS SQL Server.MS SQL Server translator.
Representation of an ADQL standard target type of the CAST function.
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).
A string constant.
Representation of the CAST's target type.
Indicates a simple position or a token/string position in a text.
Describes the input token stream.
Token Manager Error.
Exception thrown by an
ADQLTranslator
.Tool box for translation patterns.
A class implementing this interface should help the parser of translation
patterns answering the following questions:
How many parameters in the target function?
TranslationPattern.ParameterTranslator.getNbParameters()
How to translate/serialize the parameter specified by its index?
TranslationPattern.ParameterTranslator.translate(int)
Operand whose the type can not be known at the parsing time.
This exception is thrown by
DBChecker
when a column does not exist
or whose the table reference is ambiguous.Exception thrown when a function can not be resolved by the library.
This exception is thrown by
DBChecker
when several columns, tables,
functions or even ADQL features do not exist.This exception is thrown when a table between 2 tables can not be resolved,
and particularly because of the join condition (i.e.
This exception is thrown by
DBChecker
when a table does not exist
or whose the schema reference is ambiguous.Exception thrown when an ADQL language feature is used while declared as not
supported.
It represents the UPPER function of ADQL.
Custom function defined by an ADQL service provider.
Object representation of the definition of a Common Table Expression (CTE).
Lets wrapping an operand by parenthesis.
UserDefinedFunction
instead.