Class MariaDbConnection
java.lang.Object
io.debezium.jdbc.JdbcConnection
io.debezium.connector.binlog.jdbc.BinlogConnectorConnection
io.debezium.connector.mariadb.jdbc.MariaDbConnection
- All Implemented Interfaces:
AutoCloseable
A concrete implementation of
BinlogConnectorConnection for MariaDB.- Author:
- Chris Cranford
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.connector.binlog.jdbc.BinlogConnectorConnection
BinlogConnectorConnection.DatabaseLocalesNested classes/interfaces inherited from class io.debezium.jdbc.JdbcConnection
io.debezium.jdbc.JdbcConnection.BlockingMultiResultSetConsumer, io.debezium.jdbc.JdbcConnection.BlockingResultSetConsumer, io.debezium.jdbc.JdbcConnection.CallPreparer, io.debezium.jdbc.JdbcConnection.ConnectionFactory, io.debezium.jdbc.JdbcConnection.MultiResultSetConsumer, io.debezium.jdbc.JdbcConnection.Operations, io.debezium.jdbc.JdbcConnection.ParameterResultSetConsumer, io.debezium.jdbc.JdbcConnection.ResultSetConsumer, io.debezium.jdbc.JdbcConnection.ResultSetExtractor<T extends Object>, io.debezium.jdbc.JdbcConnection.ResultSetMapper<T extends Object>, io.debezium.jdbc.JdbcConnection.StatementFactory, io.debezium.jdbc.JdbcConnection.StatementPreparer -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMariaDbConnection(ConnectionConfiguration configuration, BinlogFieldReader fieldReader) -
Method Summary
Modifier and TypeMethodDescriptionfilterGtidSet(Predicate<String> gtidSourceFilter, String offsetGtids, GtidSet availableServerGtidSet, GtidSet purgedServerGtidSet) static StringgetJavaEncodingForCharSet(String charSetName) booleansubtractGtidSet(GtidSet set1, GtidSet set2) Methods inherited from class io.debezium.connector.binlog.jdbc.BinlogConnectorConnection
availableBinlogFiles, availableDatabases, connectionConfig, connectionString, earliestBinlogFilename, getColumnValue, getEstimatedTableSize, getQualifiedTableName, getSessionVariableForSslVersion, isBinlogFormatRow, isBinlogPositionAvailable, isBinlogRowImageFull, isTableIdCaseSensitive, nullsSortLast, quotedTableIdString, readCharsetSystemVariables, readDatabaseCollations, readSystemVariables, setStatementFor, userHasPrivileges, validateLogPositionMethods inherited from class io.debezium.jdbc.JdbcConnection
buildSelectWithRowLimits, call, chunkQueryBuilder, close, commit, config, connect, connection, connection, connectionString, createTableId, database, escapeEscapeSequence, execute, execute, executeWithoutCommitting, getAttributeDetails, getColumnsDetails, getCurrentTimestamp, isConnected, isNullable, isTableType, isTableUniqueIndexIncluded, isValid, loadKeyStore, overrideColumn, parseSqlStatementString, patternBasedFactory, patternBasedFactory, prepareQuery, prepareQuery, prepareQuery, prepareQuery, prepareQuery, prepareQueryAndMap, prepareQueryWithBlockingConsumer, prepareUpdate, print, print, query, query, queryAndMap, queryAndMap, querySingleValue, queryWithBlockingConsumer, quotedColumnIdString, readAllCatalogNames, readAllSchemaNames, readAllTableNames, readPrimaryKeyNames, readPrimaryKeyOrUniqueIndexNames, readSchema, readTableColumn, readTableNames, readTablePreparedStatement, readTableStatement, readTableUniqueIndices, reselectColumns, reselectColumns, resolveCatalogName, resolveJdbcType, resolveNativeType, rollback, rowToArray, setAutoCommit, setQueryColumnValue, singleResultMapper, supportedTableTypes, tableTypes, username
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
MariaDbConnection
-
-
Method Details
-
isGtidModeEnabled
public boolean isGtidModeEnabled()- Specified by:
isGtidModeEnabledin classBinlogConnectorConnection
-
knownGtidSet
- Specified by:
knownGtidSetin classBinlogConnectorConnection
-
subtractGtidSet
- Specified by:
subtractGtidSetin classBinlogConnectorConnection
-
purgedGtidSet
- Specified by:
purgedGtidSetin classBinlogConnectorConnection
-
filterGtidSet
public GtidSet filterGtidSet(Predicate<String> gtidSourceFilter, String offsetGtids, GtidSet availableServerGtidSet, GtidSet purgedServerGtidSet) - Specified by:
filterGtidSetin classBinlogConnectorConnection
-
getJavaEncodingForCharSet
-