Uses of Interface
adql.db.DBTable
Packages that use DBTable
-
Uses of DBTable in adql.db
Modifier and TypeFieldDescriptionprotected final DBTable
DBTableAlias.originTable
Wrapped table.protected DBTable
DefaultDBColumn.table
Table in which this column exists.Modifier and TypeMethodDescriptionMakes a copy of this instance ofDBTable
, with the possibility to change the DB and ADQL names.static DBTable
DBChecker.generateDBTable
(ADQLQuery subQuery, String tableName) Generate aDBTable
corresponding to the given sub-query with the given table name.DBTableAlias.getOriginTable()
Get the aliased/wrapped table.DBColumn.getTable()
Gets the table which contains thisDBColumn
.final DBTable
DBCommonColumn.getTable()
final DBTable
DefaultDBColumn.getTable()
protected DBTable
DBChecker.resolveTable
(ADQLTable table) Resolve the given table, that's to say search for the correspondingDBTable
.Modifier and TypeMethodDescriptionDBCommonColumn.getCoveredTables()
Get an iterator over the list of all tables covered by this common column.DBChecker.resolveTables
(ADQLQuery query, 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.Searches allDBTable
elements which has the given name (case insensitive).Searches allDBTable
elements which have the given catalog, schema, and table name (case insensitive).Searches allDBTable
elements which have the given catalog, schema, and table name, with the specified case sensitivity.Modifier and TypeMethodDescriptionboolean
protected void
DBCommonColumn.addCoveredTable
(DBTable table) Add a table that this common column must cover from now.Makes a copy of this instance ofDBColumn
.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.final void
Modifier and TypeMethodDescriptionprotected void
DBChecker.resolveColumns
(ADQLQuery query, Stack<SearchColumnList> fathersList, 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.final void
DBChecker.setTables
(Collection<? extends DBTable> tables) Sets the list of all available tables.ModifierConstructorDescriptionDBTableAlias
(DBTable originTable, String tableAlias) Wrap the given table under the given ADQL/DB name.DefaultDBColumn
(String dbName, DBTable table) Builds a defaultDBColumn
with the given DB name and DB table.DefaultDBColumn
(String dbName, DBType type, DBTable table) Builds a defaultDBColumn
with the given DB name and DB table.DefaultDBColumn
(String dbName, String adqlName, DBTable table) Builds a defaultDBColumn
with the given DB name, DB table and ADQL name.DefaultDBColumn
(String dbName, String adqlName, DBType type, DBTable table) Builds a defaultDBColumn
with the given DB name, DB table and ADQL name.ModifierConstructorDescriptionDBChecker
(Collection<? extends DBTable> tables) Builds aDBChecker
with the given list of known tables.DBChecker
(Collection<? extends DBTable> tables, Collection<? extends FunctionDef> allowedUdfs) Builds aDBChecker
with the given list of known tables and with a restricted list of user defined functions.DBChecker
(Collection<? extends DBTable> tables, Collection<? extends FunctionDef> allowedUdfs, Collection<String> allowedGeoFcts, Collection<String> allowedCoordSys) Builds aDBChecker
.DBChecker
(Collection<? extends DBTable> tables, Collection<String> allowedGeoFcts, Collection<String> allowedCoordSys) Builds aDBChecker
with the given list of known tables and with a restricted list of user defined functions.SearchTableList
(Collection<? extends DBTable> collection) Constructor by copy: all the elements of the given collection ofDBTable
are copied ordered into this list. -
Uses of DBTable in adql.query.from
Methods in adql.query.from that return DBTableModifier and TypeMethodDescriptionfinal DBTable
ADQLTable.getDBLink()
Gets the correspondingDBTable
.Methods in adql.query.from with parameters of type DBTable -
Uses of DBTable in adql.translator
Methods in adql.translator with parameters of type DBTableModifier and TypeMethodDescriptionJDBCTranslator.getQualifiedSchemaName
(DBTable table) Get the qualified DB name of the schema containing the given table.JDBCTranslator.getQualifiedTableName
(DBTable table) Get the qualified DB name of the given table.JDBCTranslator.getTableName
(DBTable table, boolean withSchema) Get the DB name of the given table.