Class ReadChangeStreamPartitionDoFn

java.lang.Object
org.apache.beam.sdk.transforms.DoFn<PartitionMetadata,DataChangeRecord>
org.apache.beam.sdk.io.gcp.spanner.changestreams.dofn.ReadChangeStreamPartitionDoFn
All Implemented Interfaces:
Serializable, HasDisplayData

@UnboundedPerElement public class ReadChangeStreamPartitionDoFn extends DoFn<PartitionMetadata,DataChangeRecord> implements Serializable
A SDF (Splittable DoFn) class which is responsible for performing a change stream query for a given partition. A different action will be taken depending on the type of record received from the query. This component will also reflect the partition state in the partition metadata tables.

The processing of a partition is delegated to the QueryChangeStreamAction.

See Also: