Package io.debezium.jdbc
Interface JdbcConnection.StatementFactory
- 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.
A function to create a statement from a connection.
- Author:
- Randall Hauch
-
Method Summary
Modifier and TypeMethodDescriptioncreateStatement
(Connection connection) Use the given connection to create a statement.
-
Method Details
-
createStatement
Use the given connection to create a statement.- Parameters:
connection
- the JDBC connection; never null- Returns:
- the statement
- Throws:
SQLException
- if there are problems creating a statement
-