Uses of Interface
adql.db.DBTable
-
Packages that use DBTable Package Description adql.db adql.query.from adql.translator -
-
Uses of DBTable in adql.db
Classes in adql.db that implement DBTable Modifier and Type Class Description classDBTableAliasclassDefaultDBTableDefault implementation ofDBTable.Fields in adql.db declared as DBTable Modifier and Type Field Description protected DBTableDBTableAlias. originTableWrapped table.protected DBTableDefaultDBColumn. tableTable in which this column exists.Fields in adql.db with type parameters of type DBTable Modifier and Type Field Description protected java.util.ArrayList<DBTable>DBCommonColumn. lstCoveredTablesMethods in adql.db that return DBTable Modifier and Type Method Description DBTableDBTable. copy(java.lang.String dbName, java.lang.String adqlName)Makes a copy of this instance ofDBTable, with the possibility to change the DB and ADQL names.DBTableDefaultDBTable. copy(java.lang.String dbName, java.lang.String adqlName)static DBTableDBChecker. generateDBTable(ADQLQuery subQuery, java.lang.String tableName)Generate aDBTablecorresponding to the given sub-query with the given table name.DBTableDBTableAlias. getOriginTable()Get the aliased/wrapped table.DBTableDBColumn. getTable()Gets the table which contains thisDBColumn.DBTableDBCommonColumn. getTable()DBTableDefaultDBColumn. getTable()protected DBTableDBChecker. resolveTable(ADQLTable table)Resolve the given table, that's to say search for the correspondingDBTable.Methods in adql.db that return types with arguments of type DBTable Modifier and Type Method 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>SearchTableApi. search(ADQLTable table)java.util.List<DBTable>SearchTableList. search(ADQLTable table)java.util.List<DBTable>SearchTableList. search(java.lang.String tableName)Searches allDBTableelements 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 allDBTableelements 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 allDBTableelements which have the given catalog, schema, and table name, with the specified case sensitivity.Methods in adql.db with parameters of type DBTable Modifier and Type Method Description booleanSearchTableList. add(DBTable item)protected voidDBCommonColumn. addCoveredTable(DBTable table)Add a table that this common column must cover from now.DBColumnDBColumn. copy(java.lang.String dbName, java.lang.String adqlName, DBTable dbTable)Makes a copy of this instance ofDBColumn.DBColumnDBCommonColumn. 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.DBColumnDefaultDBColumn. copy(java.lang.String dbName, java.lang.String adqlName, DBTable dbTable)voidDefaultDBColumn. setTable(DBTable table)Method parameters in adql.db with type arguments of type DBTable Modifier and Type Method Description protected voidDBChecker. 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.voidDBChecker. setTables(java.util.Collection<? extends DBTable> tables)Sets the list of all available tables.Constructors in adql.db with parameters of type DBTable Constructor 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 defaultDBColumnwith the given DB name and DB table.DefaultDBColumn(java.lang.String dbName, DBType type, DBTable table)Builds a defaultDBColumnwith the given DB name and DB table.DefaultDBColumn(java.lang.String dbName, java.lang.String adqlName, DBTable table)Builds a defaultDBColumnwith the given DB name, DB table and ADQL name.DefaultDBColumn(java.lang.String dbName, java.lang.String adqlName, DBType type, DBTable table)Builds a defaultDBColumnwith the given DB name, DB table and ADQL name.Constructor parameters in adql.db with type arguments of type DBTable Constructor Description DBChecker(java.util.Collection<? extends DBTable> tables)Builds aDBCheckerwith the given list of known tables.DBChecker(java.util.Collection<? extends DBTable> tables, java.util.Collection<? extends FunctionDef> allowedUdfs)Builds aDBCheckerwith 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 aDBChecker.DBChecker(java.util.Collection<? extends DBTable> tables, java.util.Collection<java.lang.String> allowedGeoFcts, java.util.Collection<java.lang.String> allowedCoordSys)Builds aDBCheckerwith 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 ofDBTableare copied ordered into this list. -
Uses of DBTable in adql.query.from
Methods in adql.query.from that return DBTable Modifier and Type Method Description DBTableADQLTable. getDBLink()Gets the correspondingDBTable.Methods in adql.query.from with parameters of type DBTable Modifier and Type Method Description voidADQLTable. setDBLink(DBTable dbLink) -
Uses of DBTable in adql.translator
Methods in adql.translator with parameters of type DBTable Modifier and Type Method Description java.lang.StringJDBCTranslator. getQualifiedSchemaName(DBTable table)Get the qualified DB name of the schema containing the given table.java.lang.StringJDBCTranslator. getQualifiedTableName(DBTable table)Get the qualified DB name of the given table.java.lang.StringJDBCTranslator. getTableName(DBTable table, boolean withSchema)Get the DB name of the given table.
-