Class JdbcIO.WriteWithResults<T,V extends JdbcWriteResult>

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<T>,PCollection<V>>
org.apache.beam.sdk.io.jdbc.JdbcIO.WriteWithResults<T,V>
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
JdbcIO

public abstract static class JdbcIO.WriteWithResults<T,V extends JdbcWriteResult> extends PTransform<PCollection<T>,PCollection<V>>
A PTransform to write to a JDBC datasource. Executes statements one by one.

The INSERT, UPDATE, and DELETE commands sometimes have an optional RETURNING clause that supports obtaining data from modified rows while they are being manipulated. Output PCollection of this transform is a collection of such returning results mapped by JdbcIO.RowMapper.

See Also: