Interface ColumnMetadataReader

  • All Known Implementing Classes:
    BaseColumnMetadataReader

    public interface ColumnMetadataReader
    Common interface for all remote column metadata readers.
    • 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