Package io.debezium.connector.sqlserver
Interface SqlServerJdbcConfiguration
- All Superinterfaces:
Configuration
,JdbcConfiguration
A specialized JDBC configuration for the Debezium SQL Server driver. This extends the Debezium
JDBC driver to include named instance configuration.
- Author:
- Keri Harris
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The SQL-Server-specific builder used to construct and/or alter JDBC configuration instances.Nested classes/interfaces inherited from interface io.debezium.config.Configuration
Configuration.ConfigBuilder<C extends Configuration,
B extends Configuration.ConfigBuilder<C, B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Field
A field for the named instance of the database server.Fields inherited from interface io.debezium.config.Configuration
CONFIGURATION_LOGGER, PASSWORD_PATTERN
Fields inherited from interface io.debezium.jdbc.JdbcConfiguration
ALL_KNOWN_FIELDS, CONNECTION_FACTORY_CLASS, CONNECTION_TIMEOUT_MS, DATABASE, HOSTNAME, ON_CONNECT_STATEMENTS, PASSWORD, PORT, QUERY_TIMEOUT_MS, USER
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqlServerJdbcConfiguration
adapt
(Configuration config) Obtain aSqlServerJdbcConfiguration
adapter for the givenConfiguration
.copy
(Configuration config) Create a newconfiguration builder
that starts with a copy of the supplied configuration.create()
Create a newconfiguration builder
that starts with an empty configuration.default String
Get the named instance property from the configuration.Methods inherited from interface io.debezium.config.Configuration
asMap, asMap, asProperties, asProperties, edit, filter, forEach, forEachMatchingFieldName, forEachMatchingFieldName, forEachMatchingFieldName, forEachMatchingFieldName, forEachMatchingFieldNameWithBoolean, forEachMatchingFieldNameWithBoolean, forEachMatchingFieldNameWithBoolean, forEachMatchingFieldNameWithInteger, forEachMatchingFieldNameWithInteger, forEachMatchingFieldNameWithInteger, forEachMatchingFieldNameWithString, forEachMatchingFieldNameWithString, forEachMatchingFieldNameWithString, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getDuration, getInstance, getInstance, getInstance, getInstance, getInstance, getInteger, getInteger, getInteger, getInteger, getInteger, getInteger, getList, getList, getList, getList, getLong, getLong, getLong, getLong, getLong, getLong, getNumber, getNumber, getString, getString, getString, getString, getString, getString, getStrings, getStrings, getTrimmedStrings, hasKey, hasKey, isEmpty, keys, map, mapped, merge, subset, validate, validate, validateAndRecord, withMasked, withMasked, withMaskedPasswords, withReplacedVariables, withSystemProperties, withSystemProperties
Methods inherited from interface io.debezium.jdbc.JdbcConfiguration
getConnectionFactoryClassName, getConnectionTimeout, getDatabase, getHostname, getPassword, getPort, getPortAsString, getQueryTimeout, getUser, knownFieldNames, withoutKnownFields
-
Field Details
-
INSTANCE
A field for the named instance of the database server. This field has no default value.
-
-
Method Details
-
adapt
Obtain aSqlServerJdbcConfiguration
adapter for the givenConfiguration
.- Parameters:
config
- the configuration; may not be null- Returns:
- the SqlServerJdbcConfiguration; never null
-
copy
Create a newconfiguration builder
that starts with a copy of the supplied configuration.- Parameters:
config
- the configuration to copy- Returns:
- the configuration builder
-
create
Create a newconfiguration builder
that starts with an empty configuration.- Returns:
- the configuration builder
-
getInstance
Get the named instance property from the configuration.- Returns:
- the specified or default named instance, or null if there is none.
-