Factory

@Singleton
class Factory(val selectQueryGenerator: SelectQueryGenerator, val fieldTypeMapper: JdbcMetadataQuerier.FieldTypeMapper, val checkQueries: JdbcCheckQueries, val constants: DefaultJdbcConstants) : MetadataQuerier.Factory<JdbcSourceConfiguration>

Default implementation of MetadataQuerier.Factory.

Constructors

Link copied to clipboard
constructor(selectQueryGenerator: SelectQueryGenerator, fieldTypeMapper: JdbcMetadataQuerier.FieldTypeMapper, checkQueries: JdbcCheckQueries, constants: DefaultJdbcConstants)

Properties

Functions

Link copied to clipboard
open override fun session(config: JdbcSourceConfiguration): MetadataQuerier

The JdbcSourceConfiguration is deliberately not injected in order to support tests.