public abstract class WatermarkGenerator
extends org.apache.flink.api.common.functions.AbstractRichFunction
WatermarkGenerator is used to generate watermark based the input elements.| Constructor and Description |
|---|
WatermarkGenerator() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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, setRuntimeContext@Nullable public abstract Long currentWatermark(org.apache.flink.table.data.RowData row) throws Exception
row - The current row.ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.