Package | Description |
---|---|
adql.db | |
adql.query.from |
Modifier and Type | Method | Description |
---|---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
protected DBColumn |
DBChecker.checkColumnReference(ColumnReference colRef,
ClauseSelect select,
SearchColumnList dbColumns) |
Check whether the given column reference corresponds to a selected item (column or an expression with an alias)
or to an existing column.
|
protected DBColumn |
DBChecker.checkGroupByItem(ADQLColumn col,
ClauseSelect select,
SearchColumnList dbColumns) |
Check whether the given column corresponds to a selected item's alias or to an existing column.
|
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 DBColumn |
DBChecker.resolveColumn(ADQLColumn column,
SearchColumnList dbColumns,
java.util.Stack<SearchColumnList> fathersList) |
Resolve the given column, that's to say search for the corresponding
DBColumn . |
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.
|
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.
|
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.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 DBColumn |
DBChecker.resolveColumn(ADQLColumn column,
SearchColumnList dbColumns,
java.util.Stack<SearchColumnList> fathersList) |
Resolve the given column, that's to say search for the corresponding
DBColumn . |
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 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 |
---|---|---|
SearchColumnList |
ADQLJoin.getDBColumns() |
|
SearchColumnList |
ADQLTable.getDBColumns() |
|
SearchColumnList |
FromContent.getDBColumns() |
Gets the list of all columns (~ database metadata) available in this FROM part.
|
SearchColumnList |
SQLServer_InnerJoin.getDBColumns() |
|
static SearchColumnList |
SQLServer_InnerJoin.getDBColumns(ADQLJoin join) |
Gets the list of all columns (~ database metadata) available in this FROM part.
|
SearchColumnList |
SQLServer_OuterJoin.getDBColumns() |
Modifier and Type | Method | Description |
---|---|---|
static void |
ADQLJoin.addAllExcept(SearchColumnList itemsToAdd,
SearchColumnList target,
java.util.Map<java.lang.String,DBCommonColumn> exception) |
|
static void |
SQLServer_InnerJoin.addAllExcept2(SearchColumnList itemsToAdd,
SearchColumnList target,
java.util.Map<java.lang.String,DBColumn> exception) |
|
static DBColumn |
ADQLJoin.findAtMostOneColumn(java.lang.String columnName,
byte caseSensitive,
SearchColumnList list,
boolean leftList) |
|
static DBColumn |
ADQLJoin.findExactlyOneColumn(java.lang.String columnName,
byte caseSensitive,
SearchColumnList list,
boolean leftList) |