Class PeriodicWatermarkAssigner
- java.lang.Object
-
- org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
-
- org.apache.flink.table.sources.wmstrategies.PeriodicWatermarkAssigner
-
- All Implemented Interfaces:
Serializable
,org.apache.flink.table.legacy.descriptors.Descriptor
- Direct Known Subclasses:
AscendingTimestamps
,BoundedOutOfOrderTimestamps
@PublicEvolving public abstract class PeriodicWatermarkAssigner extends org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
A periodic watermark assigner.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PeriodicWatermarkAssigner()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.apache.flink.streaming.api.watermark.Watermark
getWatermark()
Returns the current watermark.abstract void
nextTimestamp(long timestamp)
Updates the assigner with the next timestamp.
-
-
-
Method Detail
-
nextTimestamp
public abstract void nextTimestamp(long timestamp)
Updates the assigner with the next timestamp.- Parameters:
timestamp
- The next timestamp to update the assigner.
-
getWatermark
public abstract org.apache.flink.streaming.api.watermark.Watermark getWatermark()
Returns the current watermark.- Returns:
- The current watermark.
-
-