Package | Description |
---|---|
tap.data | |
tap.db |
Modifier and Type | Method and Description |
---|---|
void |
ResultSetTableIterator.close() |
void |
VOTableIterator.close() |
void |
LimitedTableIterator.close() |
void |
TableIterator.close()
Close the stream or input over which this class iterates.
|
protected DBType |
ResultSetTableIterator.convertType(int dbmsType,
java.lang.String dbmsTypeName,
java.lang.String dbms)
Convert the given DBMS type into the corresponding
DBType instance. |
protected TAPColumn[] |
VOTableIterator.StreamVOTableSink.extractColMeta(uk.ac.starlink.table.StarTable table)
Extract an array of
TAPColumn objects. |
protected java.lang.Object |
ResultSetTableIterator.formatColValue(java.lang.Object colValue)
Format the given column value.
|
DBType |
ResultSetTableIterator.getColType() |
DBType |
VOTableIterator.getColType() |
DBType |
LimitedTableIterator.getColType() |
DBType |
TableIterator.getColType()
Get the type of the current column value.
|
TAPColumn[] |
VOTableIterator.StreamVOTableSink.getMeta()
Get the metadata found in the VOTable.
|
TAPColumn[] |
VOTableIterator.getMetadata() |
TAPColumn[] |
LimitedTableIterator.getMetadata() |
TAPColumn[] |
TableIterator.getMetadata()
Get all the metadata column that have been successfully extracted at the creation of this iterator.
|
boolean |
ResultSetTableIterator.hasNextCol() |
boolean |
VOTableIterator.hasNextCol() |
boolean |
LimitedTableIterator.hasNextCol() |
boolean |
TableIterator.hasNextCol()
Tell whether another column is available.
|
java.lang.Object |
ResultSetTableIterator.nextCol()
Return the value of the next column and format it (see
ResultSetTableIterator.formatColValue(Object) ). |
java.lang.Object |
VOTableIterator.nextCol() |
java.lang.Object |
LimitedTableIterator.nextCol() |
java.lang.Object |
TableIterator.nextCol()
Return the value of the next column.
|
boolean |
ResultSetTableIterator.nextRow() |
boolean |
VOTableIterator.nextRow() |
boolean |
LimitedTableIterator.nextRow() |
boolean |
TableIterator.nextRow()
Go to the next row if there is one.
|
static VotType |
VOTableIterator.resolveVotType(java.lang.String datatype,
java.lang.String arraysize,
java.lang.String xtype)
Resolve a VOTable field type by using the datatype, arraysize and xtype strings as specified in a VOTable document.
|
Constructor and Description |
---|
LimitedTableIterator(java.lang.Class<T> classIt,
java.io.InputStream input,
ServiceConnection.LimitUnit type,
int limit)
Build the specified
TableIterator instance and wrap it so that limiting the number of rows OR bytes to read. |
LimitedTableIterator(TableIterator it,
int nbMaxRows)
Wrap the given
TableIterator so that limiting the number of rows to read. |
ResultSetTableIterator(DBConnection dbConn,
java.sql.ResultSet dataSet)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
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(DBConnection dbConn,
java.sql.ResultSet dataSet,
JDBCTranslator translator,
java.lang.String dbms)
Build a TableIterator able to read rows and columns of the given ResultSet.
|
ResultSetTableIterator(java.sql.ResultSet dataSet)
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)
Deprecated.
Use
ResultSetTableIterator.ResultSetTableIterator(ResultSet, JDBCTranslator, String) instead ; using the translator without the DBMS name is generally not enough.
It is then preferable to give also the DBMS name. |
ResultSetTableIterator(java.sql.ResultSet dataSet,
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. |
ResultSetTableIterator(java.sql.ResultSet dataSet,
java.lang.String dbms)
Deprecated.
Use
ResultSetTableIterator.ResultSetTableIterator(ResultSet, JDBCTranslator, String) instead ; using the translator without the DBMS name is generally not enough.
It is then preferable to give also the DBMS name. |
VOTableIterator(java.io.InputStream input)
Build a TableIterator able to read rows and columns inside the given VOTable input stream.
|
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 TableIterator |
JDBCConnection.createTableIterator(java.sql.ResultSet rs,
DBColumn[] resultingColumns)
Create a
TableIterator instance which lets reading the given result table. |
protected int |
JDBCConnection.fillUploadedTable(TAPTable metaTable,
TableIterator data)
Fill the table uploaded by the user with the given data.
|