Class DetectNewPartitionsDoFn

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

@UnboundedPerElement public class DetectNewPartitionsDoFn extends DoFn<PartitionMetadata,PartitionMetadata>
A SplittableDoFn (SDF) that is responsible for scheduling partitions to be queried. This component will periodically scan the partition metadata table looking for partitions in the PartitionMetadata.State.CREATED, update their state to PartitionMetadata.State.SCHEDULED and output them to the next stage in the pipeline.
See Also: