Package | Description |
---|---|
adql.db |
Modifier and Type | Method | Description |
---|---|---|
protected void |
DBChecker.checkCoordinateSystem(STCS.CoordSys coordSys,
ADQLOperand operand,
UnresolvedIdentifiersException errors) |
Check whether the given coordinate system is allowed by this implementation.
|
protected void |
DBChecker.checkCoordinateSystem(StringConstant adqlCoordSys,
UnresolvedIdentifiersException errors) |
Parse and then check the coordinate system contained in the given
StringConstant instance. |
protected SearchColumnList |
DBChecker.checkDBItems(ADQLQuery query,
java.util.Stack<SearchColumnList> fathersList,
UnresolvedIdentifiersException errors) |
Check DB items (tables and columns) used in the given ADQL query.
|
protected void |
DBChecker.checkGeometries(ADQLQuery query,
UnresolvedIdentifiersException errors) |
Check all geometries.
|
protected void |
DBChecker.checkGeometryFunction(java.lang.String fctName,
ADQLFunction fct,
DBChecker.BinarySearch<java.lang.String,java.lang.String> binSearch,
UnresolvedIdentifiersException errors) |
Check whether the specified geometrical function is allowed by this implementation.
|
protected void |
DBChecker.checkRegion(STCS.Region r,
RegionFunction fct,
DBChecker.BinarySearch<java.lang.String,java.lang.String> binSearch,
UnresolvedIdentifiersException errors) |
Check the given region.
|
protected void |
DBChecker.checkSubQueries(ADQLQuery query,
java.util.Stack<SearchColumnList> fathersList,
SearchColumnList availableColumns,
UnresolvedIdentifiersException errors) |
Search all sub-queries found in the given query but not in the clause FROM.
|
protected void |
DBChecker.checkTypes(ADQLQuery query,
UnresolvedIdentifiersException errors) |
Search all operands whose the type is not yet known and try to resolve it now
and to check whether it matches the type expected by the syntactic parser.
|
protected void |
DBChecker.checkUDFs(ADQLQuery query,
UnresolvedIdentifiersException errors) |
Search all UDFs (User Defined Functions) inside the given query, and then
check their signature against the list of allowed UDFs.
|
protected void |
DBChecker.resolveColumns(ADQLQuery query,
java.util.Stack<SearchColumnList> fathersList,
java.util.Map<DBTable,ADQLTable> mapTables,
SearchColumnList list,
UnresolvedIdentifiersException errors) |
Search all column references inside the given query, resolve them thanks to the given tables' metadata,
and if there is only one match, attach the matching metadata to them.
|
protected void |
DBChecker.resolveCoordinateSystems(ADQLQuery query,
UnresolvedIdentifiersException errors) |
Search all explicit coordinate system declarations, check their syntax and whether they are allowed by this implementation.
|
protected void |
DBChecker.resolveGeometryFunctions(ADQLQuery query,
DBChecker.BinarySearch<java.lang.String,java.lang.String> binSearch,
UnresolvedIdentifiersException errors) |
Search for all geometrical functions and check whether they are allowed.
|
protected void |
DBChecker.resolveSTCSExpressions(ADQLQuery query,
DBChecker.BinarySearch<java.lang.String,java.lang.String> binSearch,
UnresolvedIdentifiersException errors) |
Search all STC-S expressions inside the given query, parse them (and so check their syntax) and then determine
whether the declared coordinate system and the expressed region are allowed in this implementation.
|
protected java.util.Map<DBTable,ADQLTable> |
DBChecker.resolveTables(ADQLQuery query,
java.util.Stack<SearchColumnList> fathersList,
UnresolvedIdentifiersException errors) |
Search all table references inside the given query, resolve them against
the available tables, and if there is only one match, attach the matching
metadata to them.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
DBChecker.check(ADQLQuery query,
java.util.Stack<SearchColumnList> fathersList) |
Process several (semantic) verifications in the given ADQL query.
|