JdbcMetadataQuerier
class JdbcMetadataQuerier(val constants: DefaultJdbcConstants, val config: JdbcSourceConfiguration, val selectQueryGenerator: SelectQueryGenerator, val fieldTypeMapper: JdbcMetadataQuerier.FieldTypeMapper, val checkQueries: JdbcCheckQueries, jdbcConnectionFactory: JdbcConnectionFactory) : MetadataQuerier
Default implementation of MetadataQuerier.
Constructors
Link copied to clipboard
constructor(constants: DefaultJdbcConstants, config: JdbcSourceConfiguration, selectQueryGenerator: SelectQueryGenerator, fieldTypeMapper: JdbcMetadataQuerier.FieldTypeMapper, checkQueries: JdbcCheckQueries, jdbcConnectionFactory: JdbcConnectionFactory)
Types
Link copied to clipboard
data class ColumnMetadata(val name: String, val label: String, val type: SourceDatabaseType, val nullable: Boolean? = null, val ordinal: Int? = null)
Link copied to clipboard
@Singleton
Default implementation of MetadataQuerier.Factory.
Link copied to clipboard
Stateless connector-specific object for mapping a ColumnMetadata to a FieldType during DISCOVER.
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The set of namespaces to discover against. When JdbcSourceConfiguration.namespaces is non-empty this is just that set; otherwise it is resolved at discovery time to every schema/catalog the JDBC user can see, minus DefaultJdbcConstants.ignoredNamespaces.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
memoizedUserDefinedTypes is not directly used by JdbcMetadataQuerier. Instead, it's provided for use by other MetadataQuerier implementations which delegate to this.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun columnMetadataFromResultSet(rs: ResultSet, isPseudoColumn: Boolean): Pair<TableName, JdbcMetadataQuerier.ColumnMetadata>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generates SQL query used to discover ColumnMetadata and to verify table access permissions.
Link copied to clipboard
Link copied to clipboard