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.
@FunctionalInterface public static interface JdbcConnection.StatementFactory
A function to create a statement from a connection.- Author:
- Randall Hauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Statement
createStatement(Connection connection)
Use the given connection to create a statement.
-
-
-
Method Detail
-
createStatement
Statement createStatement(Connection connection) throws SQLException
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
-
-