Package org.apache.beam.sdk.io.jdbc
Interface JdbcIO.PreparedStatementSetter<T>
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
JdbcReadWithPartitionsHelper<PartitionT>
- Enclosing class:
- JdbcIO
- 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 JdbcIO.PreparedStatementSetter<T> extends java.io.SerializableAn interface used by the JdbcIO Write to set the parameters of thePreparedStatementused to setParameters into the database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetParameters(T element, java.sql.PreparedStatement preparedStatement)
-
-
-
Method Detail
-
setParameters
void setParameters(T element, java.sql.PreparedStatement preparedStatement) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-