public class BoundedOutOfOrderWatermarkGenerator extends WatermarkGenerator
Emits watermarks which are the observed timestamp minus the specified delay.
| Constructor and Description |
|---|
BoundedOutOfOrderWatermarkGenerator(int rowtimeIndex,
long delay) |
| Modifier and Type | Method and Description |
|---|---|
Long |
currentWatermark(org.apache.flink.table.data.RowData row)
Returns the watermark for the current row or null if no watermark should be generated.
|
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextpublic 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 in class WatermarkGeneratorrow - The current row.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.