Package | Description |
---|---|
adql.db | |
adql.query | |
adql.query.from | |
adql.query.operand | |
adql.translator |
Modifier and Type | Class and Description |
---|---|
class |
DBCommonColumn
This is a special column which exists only after a NATURAL JOIN or a JOIN ...
|
class |
DefaultDBColumn
Default implementation of
DBColumn . |
Modifier and Type | Field and Description |
---|---|
protected DBColumn |
DBCommonColumn.generalColumnDesc |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,DBColumn> |
DefaultDBTable.columns |
Modifier and Type | Method and 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.
|
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.
|
DBColumn |
DefaultDBTable.getColumn(java.lang.String colName,
boolean byAdqlName)
Case sensitive !
|
DBColumn |
DBTable.getColumn(java.lang.String colName,
boolean adqlName)
Gets the definition of the specified column if it exists in this table.
|
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 . |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<DBColumn> |
DefaultDBTable.iterator() |
java.util.List<DBColumn> |
SearchColumnList.search(ADQLColumn column)
Searches all
DBColumn elements corresponding to the given ADQLColumn (case insensitive). |
java.util.List<DBColumn> |
SearchColumnList.search(java.lang.String columnName)
Searches all
DBColumn elements which has the given name (case insensitive). |
java.util.List<DBColumn> |
SearchColumnList.search(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String column)
Searches all
DBColumn elements which have the given catalog, schema, table and column name (case insensitive). |
java.util.List<DBColumn> |
SearchColumnList.search(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String column,
byte caseSensitivity)
Searches all
DBColumn elements which have the given catalog, schema, table and column name, with the specified case sensitivity. |
Modifier and Type | Method and Description |
---|---|
boolean |
SearchColumnList.add(DBColumn item) |
void |
DefaultDBTable.addColumn(DBColumn column) |
Modifier and Type | Method and Description |
---|---|
boolean |
SearchColumnList.addAll(java.util.Collection<? extends DBColumn> c) |
void |
DefaultDBTable.addAllColumns(java.util.Collection<DBColumn> colList) |
Constructor and Description |
---|
DBCommonColumn(DBColumn leftCol,
DBColumn rightCol)
Create a column which merges both of the given columns.
|
Constructor and Description |
---|
SearchColumnList(java.util.Collection<DBColumn> collection)
Constructor by copy: all the elements of the given collection of
DBColumn are copied ordered into this list. |
Modifier and Type | Method and Description |
---|---|
DBColumn |
ColumnReference.getDBLink()
Gets the corresponding
DBColumn . |
DBColumn[] |
ADQLQuery.getResultingColumns()
Gets the list of columns (database metadata) selected by this query.
|
Modifier and Type | Method and Description |
---|---|
void |
ColumnReference.setDBLink(DBColumn dbLink)
Sets the
DBColumn corresponding to this ADQLColumn . |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ADQLJoin.isCommonColumn(DBColumn col)
Tells whether the given column is a common column (that's to say, a unification of several columns of the same name).
|
Modifier and Type | Method and Description |
---|---|
static void |
SQLServer_InnerJoin.addAllExcept2(SearchColumnList itemsToAdd,
SearchColumnList target,
java.util.Map<java.lang.String,DBColumn> exception) |
Modifier and Type | Method and Description |
---|---|
DBColumn |
ADQLColumn.getDBLink()
Gets the corresponding
DBColumn . |
Modifier and Type | Method and Description |
---|---|
void |
ADQLColumn.setDBLink(DBColumn dbLink)
Sets the
DBColumn corresponding to this ADQLColumn . |
Modifier and Type | Method and Description |
---|---|
protected ADQLColumn |
SQLServerTranslator.generateJoinColumn(FromContent table,
DBColumn colMeta,
ADQLColumn joinedColumn)
Generate an ADQL column of the given table and with the given metadata.
|
java.lang.String |
JDBCTranslator.getColumnName(DBColumn column)
Get the DB name of the given column
|