Class PeriodicWatermarkAssigner
- java.lang.Object
-
- org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
-
- org.apache.flink.table.sources.wmstrategies.PeriodicWatermarkAssigner
-
- All Implemented Interfaces:
Serializable
,Descriptor
- Direct Known Subclasses:
AscendingTimestamps
,BoundedOutOfOrderTimestamps
@PublicEvolving public abstract class PeriodicWatermarkAssigner extends 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 Watermark
getWatermark()
Returns the current watermark.abstract void
nextTimestamp(long timestamp)
Updates the assigner with the next timestamp.-
Methods inherited from class org.apache.flink.table.sources.wmstrategies.WatermarkStrategy
toProperties
-
-
-
-
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 Watermark getWatermark()
Returns the current watermark.- Returns:
- The current watermark.
-
-