public class BoundedOutOfOrderWatermarkGenerator extends WatermarkGenerator
Emits watermarks which are the observed timestamp minus the specified delay.
| 构造器和说明 |
|---|
BoundedOutOfOrderWatermarkGenerator(int rowtimeIndex,
long delay) |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
currentWatermark(org.apache.flink.table.data.RowData row)
Returns the watermark for the current row or null if no watermark should be generated.
|
public BoundedOutOfOrderWatermarkGenerator(int rowtimeIndex,
long delay)
rowtimeIndex - the field index of rowtime attribute, the value of rowtime should never be null.delay - The delay by which watermarks are behind the observed timestamp.@Nullable public Long currentWatermark(org.apache.flink.table.data.RowData row)
WatermarkGeneratorcurrentWatermark 在类中 WatermarkGeneratorrow - The current row.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.