Package io.debezium.connector.mysql.jdbc
Class MySqlConnection
java.lang.Object
io.debezium.jdbc.JdbcConnection
io.debezium.connector.binlog.jdbc.BinlogConnectorConnection
io.debezium.connector.mysql.jdbc.MySqlConnection
- All Implemented Interfaces:
AutoCloseable
An
BinlogConnectorConnection to be used with MySQL.- Author:
- Jiri Pechanec, Randell Hauch, 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
JdbcConnection.BlockingMultiResultSetConsumer, JdbcConnection.BlockingResultSetConsumer, JdbcConnection.CallPreparer, JdbcConnection.ConnectionFactory, JdbcConnection.MultiResultSetConsumer, JdbcConnection.Operations, JdbcConnection.ParameterResultSetConsumer, JdbcConnection.ResultSetConsumer, JdbcConnection.ResultSetExtractor<T extends Object>, JdbcConnection.ResultSetMapper<T extends Object>, JdbcConnection.StatementFactory, JdbcConnection.StatementPreparer -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMySqlConnection(MySqlConnectionConfiguration connectionConfig, BinlogFieldReader fieldReader) -
Method Summary
Modifier and TypeMethodDescriptionfilterGtidSet(Predicate<String> gtidSourceFilter, String offsetGtids, GtidSet availableServerGtidSet, GtidSet purgedServerGtidSet) 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
-
MySqlConnection
public MySqlConnection(MySqlConnectionConfiguration connectionConfig, BinlogFieldReader fieldReader)
-
-
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
-