## Uses of Class
adql.db.DBType

- Packages that use DBType
  Package | Description
  --- | ---
  adql.db |
  adql.translator |

- - ### Uses of DBType in adql.db

    Fields in adql.db declared as DBType
    Modifier and Type | Field | Description
    --- | --- | ---
    `DBType` | FunctionDef.`returnType` | Type of the result returned by this function.
    `protected DBType` | DefaultDBColumn.`type` | Type of the column in the "database".
    `DBType` | FunctionDef.FunctionParam.`type` | Parameter type.

    Methods in adql.db that return DBType
    Modifier and Type | Method | Description
    --- | --- | ---
    `DBType` | DBColumn.`getDatatype()` | Get the type of this column (as closed as possible from the "database" type).
    `DBType` | DBCommonColumn.`getDatatype()` |
    `DBType` | DefaultDBColumn.`getDatatype()` |

    Methods in adql.db with parameters of type DBType
    Modifier and Type | Method | 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.

    Constructors in adql.db with parameters of type DBType
    Constructor | 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.

  - ### Uses of DBType in adql.translator

    Methods in adql.translator that return DBType
    Modifier and Type | Method | 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` | PgSphereTranslator.`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` | SQLServerTranslator.`convertTypeFromDB​(int dbmsType, java.lang.String rawDbmsTypeName, java.lang.String dbmsTypeName, java.lang.String[] params)` |

    Methods in adql.translator with parameters of type DBType
    Modifier and Type | Method | 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` | PgSphereTranslator.`convertTypeToDB​(DBType type)` |
    `java.lang.String` | PostgreSQLTranslator.`convertTypeToDB​(DBType type)` |
    `java.lang.String` | SQLServerTranslator.`convertTypeToDB​(DBType type)` |