public class MySQLConnection
extends 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.ResultSetMapper<T>, io.debezium.jdbc.JdbcConnection.StatementFactory, io.debezium.jdbc.JdbcConnection.StatementPreparer| Modifier and Type | Field and Description |
|---|---|
protected static io.debezium.jdbc.JdbcConnection.ConnectionFactory |
FACTORY |
| 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) |
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.
|
call, close, columnsFor, columnsFor, config, connect, connection, connection, connectionString, database, execute, execute, isConnected, parseSqlStatementString, patternBasedFactory, patternBasedFactory, prepareQuery, prepareQuery, prepareQuery, prepareQueryAndMap, prepareUpdate, print, print, query, query, queryAndMap, queryAndMap, queryWithBlockingConsumer, readAllCatalogNames, readAllSchemaNames, readAllTableNames, readSchema, readTableNames, readTypeInfo, resolveNativeType, setAutoCommit, tableTypes, usernamepublic 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)
Copyright © 2018 JBoss by Red Hat. All rights reserved.