Package | Description |
---|---|
adql.db | |
adql.query | |
adql.query.from | |
adql.query.operand | |
adql.translator | |
tap | |
tap.data | |
tap.db | |
tap.formatter | |
tap.metadata |
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
|
Modifier and Type | Field and Description |
---|---|
DBColumn[] |
TAPExecutionReport.resultingColumns
List of all resulting columns.
|
Constructor and Description |
---|
ResultSetTableIterator(DBConnection dbConn,
java.sql.ResultSet dataSet,
DBColumn[] metadata)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
ResultSetTableIterator(DBConnection dbConn,
java.sql.ResultSet dataSet,
DBColumn[] resultMeta,
JDBCTranslator translator,
java.lang.String dbms)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
ResultSetTableIterator(java.sql.ResultSet dataSet,
DBColumn[] resultMeta)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
ResultSetTableIterator(java.sql.ResultSet dataSet,
DBColumn[] resultMeta,
JDBCTranslator translator,
java.lang.String dbms)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
ResultSetTableIterator(java.sql.ResultSet dataSet,
JDBCTranslator translator,
java.lang.String dbms,
DBColumn[] resultMeta)
Deprecated.
Use
ResultSetTableIterator.ResultSetTableIterator(ResultSet, DBColumn[], JDBCTranslator, String) instead ; only the position of the parameters has changed. |
Modifier and Type | Method and Description |
---|---|
protected TableIterator |
JDBCConnection.createTableIterator(java.sql.ResultSet rs,
DBColumn[] resultingColumns)
Create a
TableIterator instance which lets reading the given result table. |
Modifier and Type | Method and Description |
---|---|
protected DBColumn[] |
HTMLFormat.writeHeader(TableIterator result,
java.io.BufferedWriter writer,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write the whole header (one row whose columns are just the columns' name).
|
protected DBColumn[] |
SVFormat.writeHeader(TableIterator result,
java.io.BufferedWriter writer,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write the whole header (one row whose columns are just the columns' name).
|
protected DBColumn[] |
JSONFormat.writeMetadata(TableIterator result,
org.json.JSONWriter out,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write the whole metadata part of the JSON file.
|
Modifier and Type | Method and Description |
---|---|
protected static TAPColumn |
VOTableFormat.getValidColMeta(DBColumn typeFromQuery,
TAPColumn typeFromResult)
Try to get or otherwise to build appropriate metadata using those extracted from the ADQL query and those extracted from the result.
|
protected TAPColumn |
JSONFormat.getValidColMeta(DBColumn typeFromQuery,
TAPColumn typeFromResult)
Try to get or otherwise to build appropriate metadata using those extracted from the ADQL query and those extracted from the result.
|
protected void |
HTMLFormat.writeData(TableIterator result,
DBColumn[] selectedColumns,
java.io.BufferedWriter writer,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write all the data rows.
|
protected void |
SVFormat.writeData(TableIterator result,
DBColumn[] selectedColumns,
java.io.BufferedWriter writer,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write all the data rows.
|
protected void |
JSONFormat.writeData(TableIterator result,
DBColumn[] selectedColumns,
org.json.JSONWriter out,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write the whole data part of the JSON file.
|
protected void |
SVFormat.writeFieldValue(java.lang.Object value,
DBColumn column,
java.io.BufferedWriter writer)
Writes the given field value in the given Writer.
|
protected void |
JSONFormat.writeFieldValue(java.lang.Object value,
DBColumn column,
org.json.JSONWriter out)
Writes the given field value in JSON and into the given output.
|
protected void |
TextFormat.writeFieldValue(java.lang.Object value,
DBColumn tapCol,
java.lang.StringBuffer line)
Writes the given field value in the given buffer.
|
Modifier and Type | Class and Description |
---|---|
class |
TAPColumn
Represent a column as described by the IVOA standard in the TAP protocol definition.
|
Modifier and Type | Method and Description |
---|---|
DBColumn |
TAPColumn.copy()
Provide a deep copy (included the other data) of this column.
|
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.
|
DBColumn |
TAPTable.getColumn(java.lang.String colName,
boolean byAdqlName) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<DBColumn> |
TAPTable.iterator() |