public class MySQLConnection
extends io.debezium.jdbc.JdbcConnection
| Modifier and Type | Class and Description |
|---|---|
static class |
MySQLConnection.MySqlVersion |
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.ResultSetMapper<T>, io.debezium.jdbc.JdbcConnection.StatementFactory, io.debezium.jdbc.JdbcConnection.StatementPreparer| Modifier and Type | Field and Description |
|---|---|
private DatabaseDifferences |
databaseAsserts |
protected static io.debezium.jdbc.JdbcConnection.ConnectionFactory |
FACTORY |
private MySQLConnection.MySqlVersion |
mySqlVersion |
| Constructor and Description |
|---|
MySQLConnection(Configuration config)
Create a new instance with the given configuration and connection factory.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addDefaults(Configuration.Builder builder) |
DatabaseDifferences |
databaseAsserts() |
static MySQLConnection |
forTestDatabase(String databaseName)
Obtain a connection instance to the named test database.
|
static MySQLConnection |
forTestDatabase(String databaseName,
Map<String,Object> urlProperties)
Obtain a connection instance to the named test database.
|
static MySQLConnection |
forTestDatabase(String databaseName,
String username,
String password)
Obtain a connection instance to the named test database.
|
MySQLConnection.MySqlVersion |
getMySqlVersion() |
call, close, columnsFor, columnsFor, config, connect, connection, connection, connectionString, database, execute, execute, executeWithoutCommitting, isConnected, parseSqlStatementString, patternBasedFactory, patternBasedFactory, prepareQuery, prepareQuery, prepareQuery, prepareQuery, prepareQueryAndMap, prepareQueryWithBlockingConsumer, prepareUpdate, print, print, query, query, queryAndMap, queryAndMap, queryWithBlockingConsumer, readAllCatalogNames, readAllSchemaNames, readAllTableNames, readPrimaryKeyNames, readSchema, readTableColumn, readTableNames, resolveNativeType, setAutoCommit, tableTypes, usernameprivate DatabaseDifferences databaseAsserts
private MySQLConnection.MySqlVersion mySqlVersion
protected static io.debezium.jdbc.JdbcConnection.ConnectionFactory FACTORY
public MySQLConnection(Configuration config)
config - the configuration; may not be nullpublic static MySQLConnection forTestDatabase(String databaseName)
databaseName - the name of the test databasepublic static MySQLConnection forTestDatabase(String databaseName, Map<String,Object> urlProperties)
databaseName - the name of the test databaseurlProperties - url propertiespublic static MySQLConnection forTestDatabase(String databaseName, String username, String password)
databaseName - the name of the test databaseusername - the usernamepassword - the passwordprotected static void addDefaults(Configuration.Builder builder)
public MySQLConnection.MySqlVersion getMySqlVersion()
public DatabaseDifferences databaseAsserts()
Copyright © 2019 JBoss by Red Hat. All rights reserved.