Package com.exasol.adapter.jdbc
Interface ColumnMetadataReader
-
- All Known Implementing Classes:
BaseColumnMetadataReader
public interface ColumnMetadataReaderCommon interface for all remote column metadata readers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<com.exasol.adapter.metadata.ColumnMetadata>mapColumns(String tableName)Map a metadata for a list of columns to Exasol metadata.com.exasol.adapter.metadata.DataTypemapJdbcType(JDBCTypeDescription jdbcTypeDescription)Map type information from JDBC to the Exasol type information.
-
-
-
Method Detail
-
mapColumns
List<com.exasol.adapter.metadata.ColumnMetadata> mapColumns(String tableName)
Map a metadata for a list of columns to Exasol metadata.- Parameters:
tableName- the table for which the columns are mapped- Returns:
- list of Exasol column metadata objects
-
mapJdbcType
com.exasol.adapter.metadata.DataType mapJdbcType(JDBCTypeDescription jdbcTypeDescription)
Map type information from JDBC to the Exasol type information.Override this method in a dedicated mapper if you need dialect specific behavior.
- Parameters:
jdbcTypeDescription- parameter object describing the type from the JDBC perspective- Returns:
- Exasol data type information
-
-