Package | Description |
---|---|
tap | |
tap.data | |
tap.db | |
tap.formatter |
Modifier and Type | Method and Description |
---|---|
protected TableIterator |
ADQLExecutor.executeADQL(ADQLQuery adql)
Execute in "database" the given object representation of an ADQL query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ADQLExecutor.writeResult(TableIterator queryResult)
Write the given query result into the appropriate format in the appropriate output
(HTTP response for a synchronous execution, otherwise a file or any output provided by UWS).
|
protected void |
ADQLExecutor.writeResult(TableIterator queryResult,
OutputFormat formatter,
java.io.OutputStream output)
Format and write the given result in the given output with the given formatter.
|
Modifier and Type | Class and Description |
---|---|
class |
LimitedTableIterator
Wrap a
TableIterator in order to limit its reading to a fixed number of rows. |
class |
ResultSetTableIterator
TableIterator which lets iterate over a SQL ResultSet . |
class |
VOTableIterator
TableIterator which lets iterate over a VOTable input stream using STIL. |
Modifier and Type | Method and Description |
---|---|
TableIterator |
LimitedTableIterator.getWrappedIterator()
Get the iterator wrapped by this
TableIterator instance. |
Constructor and Description |
---|
LimitedTableIterator(TableIterator it,
int nbMaxRows)
Wrap the given
TableIterator so that limiting the number of rows to read. |
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. |
TableIterator |
JDBCConnection.executeQuery(ADQLQuery adqlQuery) |
TableIterator |
DBConnection.executeQuery(ADQLQuery adqlQuery)
Let executing the given ADQL query.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JDBCConnection.addUploadedTable(TAPTable tableDef,
TableIterator data)
Important note:
Only tables uploaded by users can be created in the database.
|
boolean |
DBConnection.addUploadedTable(TAPTable tableDef,
TableIterator data)
Add the defined and given table inside the TAP_UPLOAD schema.
|
protected int |
JDBCConnection.fillUploadedTable(TAPTable metaTable,
TableIterator data)
Fill the table uploaded by the user with the given data.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
TextFormat.getHeader(TableIterator result,
TAPExecutionReport execReport,
java.lang.Thread thread)
Get the whole header (one row whose columns are just the columns' name).
|
static uk.ac.starlink.table.ColumnInfo[] |
VOTableFormat.toColumnInfos(TableIterator result,
TAPExecutionReport execReport,
java.lang.Thread thread)
Writes fields' metadata of the given query 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 boolean |
TextFormat.writeData(TableIterator queryResult,
LargeAsciiTable asciiTable,
TAPExecutionReport execReport,
java.lang.Thread thread)
Write all the data rows into the given
LargeAsciiTable object. |
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.
|
void |
FITSFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |
void |
HTMLFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |
void |
OutputFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread)
Formats the given query result and writes it in the given output stream.
|
void |
SVFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |
void |
TextFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |
void |
VOTableFormat.writeResult(TableIterator queryResult,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |
void |
JSONFormat.writeResult(TableIterator result,
java.io.OutputStream output,
TAPExecutionReport execReport,
java.lang.Thread thread) |