Package org.apache.beam.sdk.io.jdbc
Interface JdbcIO.RetryStrategy
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
JdbcIO.DefaultRetryStrategy
- 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.RetryStrategy extends java.io.SerializableAn interface used to control if we retry the statements when aSQLExceptionoccurs. Ifapply(SQLException)returns true,JdbcIO.Writetries to replay the statements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapply(java.sql.SQLException sqlException)
-