T - The type of the emitted records.@Internal public class BatchTimestampsAndWatermarks<T> extends Object implements TimestampsAndWatermarks<T>
TimestampsAndWatermarks to be used during batch execution of a
program. Batch execution has no watermarks, so all watermark related operations in this
implementation are no-ops.| 构造器和说明 |
|---|
BatchTimestampsAndWatermarks(org.apache.flink.api.common.eventtime.TimestampAssigner<T> timestamps)
Creates a new BatchTimestampsAndWatermarks with the given TimestampAssigner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.connector.source.ReaderOutput<T> |
createMainOutput(PushingAsyncDataInput.DataOutput<T> output)
Creates the ReaderOutput for the source reader, than internally runs the timestamp extraction
and watermark generation.
|
void |
startPeriodicWatermarkEmits()
Starts emitting periodic watermarks, if this implementation produces watermarks, and if
periodic watermarks are configured.
|
void |
stopPeriodicWatermarkEmits()
Stops emitting periodic watermarks.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBatchEventTimeLogic, createStreamingEventTimeLogicpublic BatchTimestampsAndWatermarks(org.apache.flink.api.common.eventtime.TimestampAssigner<T> timestamps)
public org.apache.flink.api.connector.source.ReaderOutput<T> createMainOutput(PushingAsyncDataInput.DataOutput<T> output)
TimestampsAndWatermarkscreateMainOutput 在接口中 TimestampsAndWatermarks<T>public void startPeriodicWatermarkEmits()
TimestampsAndWatermarksPeriodic watermarks are produced by periodically calling the WatermarkGenerator.onPeriodicEmit(WatermarkOutput)
method of the underlying Watermark Generators.
startPeriodicWatermarkEmits 在接口中 TimestampsAndWatermarks<T>public void stopPeriodicWatermarkEmits()
TimestampsAndWatermarksstopPeriodicWatermarkEmits 在接口中 TimestampsAndWatermarks<T>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.