@PublicEvolving public final class AscendingTimestamps extends PeriodicWatermarkAssigner
Emits a watermark of the maximum observed timestamp so far minus 1. Rows that have a timestamp equal to the max timestamp are not late.
| Constructor and Description |
|---|
AscendingTimestamps() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.apache.flink.streaming.api.watermark.Watermark |
getWatermark()
Returns the current watermark.
|
int |
hashCode() |
void |
nextTimestamp(long timestamp)
Updates the assigner with the next timestamp.
|
Map<String,String> |
toProperties() |
public void nextTimestamp(long timestamp)
PeriodicWatermarkAssignernextTimestamp in class PeriodicWatermarkAssignertimestamp - The next timestamp to update the assigner.public Map<String,String> toProperties()
toProperties in interface org.apache.flink.table.descriptors.DescriptortoProperties in class org.apache.flink.table.sources.wmstrategies.WatermarkStrategypublic org.apache.flink.streaming.api.watermark.Watermark getWatermark()
PeriodicWatermarkAssignergetWatermark in class PeriodicWatermarkAssignerCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.