Package io.debezium.jdbc
Interface JdbcConnection.ConnectionFactory
-
- All Known Implementing Classes:
JdbcConnection.ConnectionFactoryDecorator
- Enclosing class:
- JdbcConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @ThreadSafe public static interface JdbcConnection.ConnectionFactory
Establishes JDBC connections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection
connect(JdbcConfiguration config)
Establish a connection to the database denoted by the given configuration.
-
-
-
Method Detail
-
connect
Connection connect(JdbcConfiguration config) throws SQLException
Establish a connection to the database denoted by the given configuration.- Parameters:
config
- the configuration with JDBC connection information- Returns:
- the JDBC connection; may not be null
- Throws:
SQLException
- if there is an error connecting to the database
-
-