Package | Description |
---|---|
adql.db | |
adql.db.exception | |
adql.parser | |
adql.query | |
adql.query.from | |
adql.query.operand | |
adql.translator |
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|---|
protected DBTable |
DBChecker.resolveTable(ADQLTable table)
Resolve the given table, that's to say search for the corresponding
DBTable . |
java.util.List<DBTable> |
SearchTableList.search(ADQLTable table)
|
java.util.List<DBTable> |
SearchTableApi.search(ADQLTable table)
|
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|---|
protected void |
UnresolvedTableException.initPosition(ADQLTable table)
Initializes the position at which this exception occurs.
|
Constructor and Description |
---|
UnresolvedTableException(ADQLTable table)
UNKNOWN TABLE
|
UnresolvedTableException(ADQLTable table,
java.lang.String t1,
java.lang.String t2)
AMBIGUOUS TABLE NAME
|
Modifier and Type | Method and Description |
---|---|
ADQLTable |
ADQLQueryFactory.createTable(ADQLQuery query,
IdentifierItems.IdentifierItem alias) |
ADQLTable |
ADQLQueryFactory.createTable(IdentifierItems idItems,
IdentifierItems.IdentifierItem alias) |
Modifier and Type | Method and Description |
---|---|
ADQLTable |
SelectAllColumns.getAdqlTable()
Gets the table whose all columns must be selected.
|
ADQLTable |
ColumnReference.getAdqlTable()
Gets the
ADQLTable from which this column is supposed to come. |
Modifier and Type | Method and Description |
---|---|
void |
SelectAllColumns.setAdqlTable(ADQLTable table)
Sets the table whose all columns must be selected.
|
void |
ColumnReference.setAdqlTable(ADQLTable adqlTable)
Sets the
ADQLTable from which this column is supposed to come. |
Constructor and Description |
---|
SelectAllColumns(ADQLTable table)
Builds a
SelectItem which selects all columns available in the given table. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ADQLTable> |
ADQLTable.getTables() |
java.util.List<ADQLTable> |
ADQLJoin.getTables() |
java.util.List<ADQLTable> |
FromContent.getTables()
|
java.util.List<ADQLTable> |
ADQLTable.getTablesByAlias(java.lang.String alias,
boolean caseSensitive) |
java.util.List<ADQLTable> |
ADQLJoin.getTablesByAlias(java.lang.String alias,
boolean caseSensitive) |
java.util.List<ADQLTable> |
FromContent.getTablesByAlias(java.lang.String alias,
boolean caseSensitive)
Gets all the table whose the alias is equals to the given one.
|
Constructor and Description |
---|
ADQLTable(ADQLTable toCopy)
Builds an ADQL table by copying the given one.
|
Modifier and Type | Method and Description |
---|---|
ADQLTable |
ADQLColumn.getAdqlTable()
Gets the
ADQLTable from which this column is supposed to come. |
Modifier and Type | Method and Description |
---|---|
void |
ADQLColumn.setAdqlTable(ADQLTable adqlTable)
Sets the
ADQLTable from which this column is supposed to come. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ADQLTranslator.translate(ADQLTable table) |
java.lang.String |
JDBCTranslator.translate(ADQLTable table) |