@PublicEvolving public final class BoundedOutOfOrderTimestamps extends PeriodicWatermarkAssigner
Emits watermarks which are the maximum observed timestamp minus the specified delay.
| Constructor and Description |
|---|
BoundedOutOfOrderTimestamps(long delay) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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 BoundedOutOfOrderTimestamps(long delay)
delay - The delay by which watermarks are behind the maximum observed timestamp.public void nextTimestamp(long timestamp)
PeriodicWatermarkAssignernextTimestamp in class PeriodicWatermarkAssignertimestamp - The next timestamp to update the assigner.public org.apache.flink.streaming.api.watermark.Watermark getWatermark()
PeriodicWatermarkAssignergetWatermark in class PeriodicWatermarkAssignerpublic Map<String,String> toProperties()
toProperties in interface org.apache.flink.table.descriptors.DescriptortoProperties in class org.apache.flink.table.sources.wmstrategies.WatermarkStrategyCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.