Package org.apache.beam.sdk.io.jdbc
Class JdbcIO.DefaultRetryStrategy
java.lang.Object
org.apache.beam.sdk.io.jdbc.JdbcIO.DefaultRetryStrategy
- All Implemented Interfaces:
- Serializable,- JdbcIO.RetryStrategy
- Enclosing class:
- JdbcIO
This is the default 
Predicate we use to detect DeadLock. It basically test if the
 SQLException.getSQLState() equals 40001 or 40P01. 40001 is the SQL State used by most
 of databases to identify deadlock, and 40P01 is specific to PostgreSQL (see PostgreSQL documentation).- See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
DefaultRetryStrategypublic DefaultRetryStrategy()
 
- 
- 
Method Details- 
apply- Specified by:
- applyin interface- JdbcIO.RetryStrategy
 
 
-