Package | Description |
---|---|
adql.db | |
adql.query.from | |
adql.translator | |
tap.metadata |
Modifier and Type | Class and Description |
---|---|
class |
DBTableAlias
|
class |
DefaultDBTable
Default implementation of
DBTable . |
Modifier and Type | Field and Description |
---|---|
protected DBTable |
DBTableAlias.originTable
Wrapped table.
|
protected DBTable |
DefaultDBColumn.table
Table in which this column exists.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<DBTable> |
DBCommonColumn.lstCoveredTables |
Modifier and Type | Method and Description |
---|---|
DBTable |
DefaultDBTable.copy(java.lang.String dbName,
java.lang.String adqlName) |
DBTable |
DBTable.copy(java.lang.String dbName,
java.lang.String adqlName)
Makes a copy of this instance of
DBTable , with the possibility to change the DB and ADQL names. |
static DBTable |
DBChecker.generateDBTable(ADQLQuery subQuery,
java.lang.String tableName)
Generate a
DBTable corresponding to the given sub-query with the given table name. |
DBTable |
DBTableAlias.getOriginTable()
Get the aliased/wrapped table.
|
DBTable |
DBColumn.getTable()
Gets the table which contains this
DBColumn . |
DBTable |
DefaultDBColumn.getTable() |
DBTable |
DBCommonColumn.getTable() |
protected DBTable |
DBChecker.resolveTable(ADQLTable table)
Resolve the given table, that's to say search for the corresponding
DBTable . |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<DBTable> |
DBCommonColumn.getCoveredTables()
Get an iterator over the list of all tables covered by this common column.
|
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.
|
java.util.List<DBTable> |
SearchTableList.search(ADQLTable table)
|
java.util.List<DBTable> |
SearchTableApi.search(ADQLTable table)
|
java.util.List<DBTable> |
SearchTableList.search(java.lang.String tableName)
Searches all
DBTable elements which has the given name (case insensitive). |
java.util.List<DBTable> |
SearchTableList.search(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Searches all
DBTable elements which have the given catalog, schema, and table name (case insensitive). |
java.util.List<DBTable> |
SearchTableList.search(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
byte caseSensitivity)
Searches all
DBTable elements which have the given catalog, schema, and table name, with the specified case sensitivity. |
Modifier and Type | Method and Description |
---|---|
boolean |
SearchTableList.add(DBTable item) |
protected void |
DBCommonColumn.addCoveredTable(DBTable table)
Add a table that this common column must cover from now.
|
DBColumn |
DBColumn.copy(java.lang.String dbName,
java.lang.String adqlName,
DBTable dbTable)
Makes a copy of this instance of
DBColumn . |
DBColumn |
DefaultDBColumn.copy(java.lang.String dbName,
java.lang.String adqlName,
DBTable dbTable) |
DBColumn |
DBCommonColumn.copy(java.lang.String dbName,
java.lang.String adqlName,
DBTable dbTable)
WARNING: This copy function does not make a real copy of this DBCommonColumn !
It returns a modified copy of the general column description it contains.
|
void |
DefaultDBColumn.setTable(DBTable 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.
|
void |
DBChecker.setTables(java.util.Collection<? extends DBTable> tables)
Sets the list of all available tables.
|
Constructor and Description |
---|
DBTableAlias(DBTable originTable,
java.lang.String tableAlias)
Wrap the given table under the given ADQL/DB name.
|
DefaultDBColumn(java.lang.String dbName,
DBTable table)
Builds a default
DBColumn with the given DB name and DB table. |
DefaultDBColumn(java.lang.String dbName,
DBType type,
DBTable table)
Builds a default
DBColumn with the given DB name and DB table. |
DefaultDBColumn(java.lang.String dbName,
java.lang.String adqlName,
DBTable table)
Builds a default
DBColumn with the given DB name, DB table and ADQL name. |
DefaultDBColumn(java.lang.String dbName,
java.lang.String adqlName,
DBType type,
DBTable table)
Builds a default
DBColumn with the given DB name, DB table and ADQL name. |
Constructor and Description |
---|
DBChecker(java.util.Collection<? extends DBTable> tables)
Builds a
DBChecker with the given list of known tables. |
DBChecker(java.util.Collection<? extends DBTable> tables,
java.util.Collection<? extends FunctionDef> allowedUdfs)
Builds a
DBChecker with the given list of known tables and with a restricted list of user defined functions. |
DBChecker(java.util.Collection<? extends DBTable> tables,
java.util.Collection<? extends FunctionDef> allowedUdfs,
java.util.Collection<java.lang.String> allowedGeoFcts,
java.util.Collection<java.lang.String> allowedCoordSys)
Builds a
DBChecker . |
DBChecker(java.util.Collection<? extends DBTable> tables,
java.util.Collection<java.lang.String> allowedGeoFcts,
java.util.Collection<java.lang.String> allowedCoordSys)
Builds a
DBChecker with the given list of known tables and with a restricted list of user defined functions. |
SearchTableList(java.util.Collection<? extends DBTable> collection)
Constructor by copy: all the elements of the given collection of
DBTable are copied ordered into this list. |
Modifier and Type | Method and Description |
---|---|
DBTable |
ADQLTable.getDBLink()
Gets the corresponding
DBTable . |
Modifier and Type | Method and Description |
---|---|
void |
ADQLTable.setDBLink(DBTable dbLink)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JDBCTranslator.getQualifiedSchemaName(DBTable table)
Get the qualified DB name of the schema containing the given table.
|
java.lang.String |
JDBCTranslator.getQualifiedTableName(DBTable table)
Get the qualified DB name of the given table.
|
java.lang.String |
JDBCTranslator.getTableName(DBTable table,
boolean withSchema)
Get the DB name of the given table.
|
Modifier and Type | Class and Description |
---|---|
class |
TAPTable
Represent a table as described by the IVOA standard in the TAP protocol definition.
|
Modifier and Type | Method and Description |
---|---|
DBTable |
TAPTable.copy(java.lang.String dbName,
java.lang.String adqlName) |
DBTable |
TAPColumn.getTable() |
Modifier and Type | Method and Description |
---|---|
java.util.List<DBTable> |
TAPMetadata.getTable(java.lang.String tableName)
Search in this TAP metadata set for all tables whose the ADQL name matches the given one,
whatever is their schema.
|
Modifier and Type | Method and Description |
---|---|
DBColumn |
TAPColumn.copy(java.lang.String dbName,
java.lang.String adqlName,
DBTable dbTable)
Warning:
Since the type of the other data is not known, the copy of its value
can not be done properly.
|
protected void |
TAPColumn.setTable(DBTable table)
Set the table in which this column is.
|