Class JdbcIO.WriteWithResults<T,​V extends JdbcWriteResult>

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData
    Enclosing class:
    JdbcIO

    public abstract static class JdbcIO.WriteWithResults<T,​V extends JdbcWriteResult>
    extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,​org.apache.beam.sdk.values.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:
    Serialized Form