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.TimestampFetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHEDstate.
-
Constructor Details
-
NoOpWatermarkCache
-
-
Method Details
-
getUnfinishedMinWatermark
Description copied from interface:WatermarkCacheFetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHEDstate.- Specified by:
getUnfinishedMinWatermarkin interfaceWatermarkCache- Returns:
- the earliest partition watermark which is not in a
PartitionMetadata.State.FINISHEDstate.
-