Class ExasolColumnMetadataReader

  • All Implemented Interfaces:
    com.exasol.adapter.jdbc.ColumnMetadataReader, com.exasol.adapter.jdbc.MetadataReader

    public class ExasolColumnMetadataReader
    extends com.exasol.adapter.jdbc.BaseColumnMetadataReader
    This class implements Exasol-specific reading of column metadata.
    • Field Summary

      • Fields inherited from class com.exasol.adapter.jdbc.BaseColumnMetadataReader

        AUTOINCREMENT_COLUMN, CHAR_OCTET_LENGTH_COLUMN, DATA_TYPE_COLUMN, DEFAULT_VALUE_COLUMN, LOGGER, NAME_COLUMN, NULLABLE_COLUMN, REMARKS_COLUMN, SCALE_COLUMN, SIZE_COLUMN, TYPE_NAME_COLUMN
      • Fields inherited from class com.exasol.adapter.jdbc.AbstractMetadataReader

        connection, properties
    • Constructor Summary

      Constructors 
      Constructor Description
      ExasolColumnMetadataReader​(java.sql.Connection connection, com.exasol.adapter.AdapterProperties properties, com.exasol.adapter.dialects.IdentifierConverter identifierConverter)
      Create a new instance of the ExasolColumnMetadataReader.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.exasol.adapter.metadata.DataType mapJdbcType​(com.exasol.adapter.jdbc.JdbcTypeDescription jdbcTypeDescription)  
      • Methods inherited from class com.exasol.adapter.jdbc.BaseColumnMetadataReader

        convertDecimal, getColumnsFromResultSet, getNumberTypeFromProperty, isRemoteColumnNullable, mapColumns, mapColumns, mapJdbcTypeNumericToDecimalWithFallbackToDouble, mapOrSkipColumn, readColumnName, readJdbcTypeDescription
      • Methods inherited from class com.exasol.adapter.jdbc.AbstractMetadataReader

        getCatalogNameFilter, getSchemaNameFilter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExasolColumnMetadataReader

        public ExasolColumnMetadataReader​(java.sql.Connection connection,
                                          com.exasol.adapter.AdapterProperties properties,
                                          com.exasol.adapter.dialects.IdentifierConverter identifierConverter)
        Create a new instance of the ExasolColumnMetadataReader.
        Parameters:
        connection - JDBC connection through which the column metadata is read from the remote database
        properties - user-defined adapter properties
        identifierConverter - converter between source and Exasol identifiers
    • Method Detail

      • mapJdbcType

        public com.exasol.adapter.metadata.DataType mapJdbcType​(com.exasol.adapter.jdbc.JdbcTypeDescription jdbcTypeDescription)
        Specified by:
        mapJdbcType in interface com.exasol.adapter.jdbc.ColumnMetadataReader
        Overrides:
        mapJdbcType in class com.exasol.adapter.jdbc.BaseColumnMetadataReader