Package | Description |
---|---|
adql.db | |
adql.translator | |
tap.data | |
tap.db | |
tap.metadata |
Modifier and Type | Field and Description |
---|---|
DBType |
FunctionDef.returnType
Type of the result returned by this function.
|
DBType |
FunctionDef.FunctionParam.type
Parameter type.
|
protected DBType |
DefaultDBColumn.type
Type of the column in the "database".
|
Modifier and Type | Method and Description |
---|---|
DBType |
DBColumn.getDatatype()
Get the type of this column (as closed as possible from the "database" type).
|
DBType |
DefaultDBColumn.getDatatype() |
DBType |
DBCommonColumn.getDatatype() |
Modifier and Type | Method and Description |
---|---|
boolean |
DBType.isCompatible(DBType t)
Tell whether this
DBType is compatible with the given one. |
void |
DefaultDBColumn.setDatatype(DBType type)
Set the type of this column.
|
Constructor and Description |
---|
DefaultDBColumn(java.lang.String dbName,
DBType type,
DBTable table)
Builds a default
DBColumn with the given DB name and DB table. |
DefaultDBColumn(java.lang.String dbName,
java.lang.String adqlName,
DBType type,
DBTable table)
Builds a default
DBColumn with the given DB name, DB table and ADQL name. |
FunctionDef(java.lang.String fctName,
DBType returnType)
Create a function definition.
|
FunctionDef(java.lang.String fctName,
DBType returnType,
FunctionDef.FunctionParam[] params) |
FunctionParam(java.lang.String paramName,
DBType paramType)
Create a function parameter.
|
Modifier and Type | Method and Description |
---|---|
abstract DBType |
JDBCTranslator.convertTypeFromDB(int dbmsType,
java.lang.String rawDbmsTypeName,
java.lang.String dbmsTypeName,
java.lang.String[] typeParams)
Convert any type provided by a JDBC driver into a type understandable by the ADQL/TAP library.
|
DBType |
MySQLTranslator.convertTypeFromDB(int dbmsType,
java.lang.String rawDbmsTypeName,
java.lang.String dbmsTypeName,
java.lang.String[] params) |
DBType |
PostgreSQLTranslator.convertTypeFromDB(int dbmsType,
java.lang.String rawDbmsTypeName,
java.lang.String dbmsTypeName,
java.lang.String[] params) |
DBType |
PgSphereTranslator.convertTypeFromDB(int dbmsType,
java.lang.String rawDbmsTypeName,
java.lang.String dbmsTypeName,
java.lang.String[] params) |
DBType |
SQLServerTranslator.convertTypeFromDB(int dbmsType,
java.lang.String rawDbmsTypeName,
java.lang.String dbmsTypeName,
java.lang.String[] params) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
JDBCTranslator.convertTypeToDB(DBType type)
Convert any type provided by the ADQL/TAP library into a type understandable by a JDBC driver.
|
java.lang.String |
MySQLTranslator.convertTypeToDB(DBType type) |
java.lang.String |
PostgreSQLTranslator.convertTypeToDB(DBType type) |
java.lang.String |
PgSphereTranslator.convertTypeToDB(DBType type) |
java.lang.String |
SQLServerTranslator.convertTypeToDB(DBType type) |
Modifier and Type | Method and Description |
---|---|
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 DBType |
ResultSetTableIterator.defaultTypeConversion(java.lang.String dbmsTypeName,
java.lang.String[] params,
java.lang.String dbms)
Convert the given DBMS type into the better matching
DBType instance. |
DBType |
ResultSetTableIterator.getColType() |
DBType |
VOTableIterator.getColType() |
DBType |
LimitedTableIterator.getColType() |
DBType |
TableIterator.getColType()
Get the type of the current column value.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
JDBCConnection.convertTypeToDB(DBType type)
Convert the given TAP type into the corresponding DBMS column type.
|
protected java.lang.String |
JDBCConnection.defaultTypeConversion(DBType datatype)
Get the DBMS compatible datatype corresponding to the given column
DBType . |
Modifier and Type | Method and Description |
---|---|
protected DBType |
VotType.convertNumericType(DBType.DBDatatype tapDatatype)
|
protected DBType |
VotType.convertVariableLengthType(DBType.DBDatatype varType,
DBType.DBDatatype fixedType)
|
DBType |
TAPColumn.getDatatype()
Get the type of the column's values.
|
protected DBType |
TableSetParser.parseDataType(javax.xml.stream.XMLStreamReader reader)
Parse the XML representation of a column datatype.
|
DBType |
VotType.toTAPType()
Convert this VOTable type definition into a TAPColumn type.
|
Modifier and Type | Method and Description |
---|---|
TAPColumn |
TAPTable.addColumn(java.lang.String columnName,
DBType datatype,
java.lang.String description,
java.lang.String unit,
java.lang.String ucd,
java.lang.String utype)
Build a
TAPColumn object whose the ADQL and DB name will the given one. |
TAPColumn |
TAPTable.addColumn(java.lang.String columnName,
DBType datatype,
java.lang.String description,
java.lang.String unit,
java.lang.String ucd,
java.lang.String utype,
boolean principal,
boolean indexed,
boolean std)
Build a
TAPColumn object whose the ADQL and DB name will the given one. |
void |
TAPColumn.setDatatype(DBType type)
Set the type of the column's values.
|
Constructor and Description |
---|
TAPColumn(java.lang.String columnName,
DBType type)
Build a
TAPColumn instance with the given ADQL name and datatype. |
TAPColumn(java.lang.String columnName,
DBType type,
java.lang.String description)
Build a
TAPColumn instance with the given ADQL name, datatype and description. |
TAPColumn(java.lang.String columnName,
DBType type,
java.lang.String description,
java.lang.String unit)
Build a
TAPColumn instance with the given ADQL name, type, description and unit. |
TAPColumn(java.lang.String columnName,
DBType type,
java.lang.String description,
java.lang.String unit,
java.lang.String ucd,
java.lang.String utype)
Build a
TAPColumn instance with the given fields. |
VotType(DBType tapType)
|