Class NoOpWatermarkCache
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.changestreams.cache.NoOpWatermarkCache
- All Implemented Interfaces:
WatermarkCache
Synchronously compute the earliest partition watermark, by delegating the call to
.
invalid reference
PartitionMetadataDao#getUnfinishedMinWatermark()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.Timestamp
Fetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHED
state.
-
Constructor Details
-
NoOpWatermarkCache
-
-
Method Details
-
getUnfinishedMinWatermark
Description copied from interface:WatermarkCache
Fetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHED
state.- Specified by:
getUnfinishedMinWatermark
in interfaceWatermarkCache
- Returns:
- the earliest partition watermark which is not in a
PartitionMetadata.State.FINISHED
state.
-