public abstract class WatermarkGenerator
extends org.apache.flink.api.common.functions.AbstractRichFunction
WatermarkGenerator is used to generate watermark based the input elements.| 构造器和说明 |
|---|
WatermarkGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
@Nullable public abstract Long currentWatermark(org.apache.flink.table.data.RowData row) throws Exception
row - The current row.ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.