Interface OneInputEventTimeStreamProcessFunction<IN,OUT>
- All Superinterfaces:
EventTimeProcessFunction,org.apache.flink.api.common.functions.Function,OneInputStreamProcessFunction<IN,,OUT> ProcessFunction,Serializable
@Experimental
public interface OneInputEventTimeStreamProcessFunction<IN,OUT>
extends EventTimeProcessFunction, OneInputStreamProcessFunction<IN,OUT>
The
OneInputStreamProcessFunction that extends with event time support.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonEventTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Invoked when an event-time timer fires.default voidonEventTimeWatermark(long watermarkTimestamp, Collector<OUT> output, NonPartitionedContext<OUT> ctx) The#onEventTimeWatermarkmethod signifies that the EventTimeProcessFunction has received an EventTimeWatermark.Methods inherited from interface org.apache.flink.datastream.api.extension.eventtime.function.EventTimeProcessFunction
initEventTimeProcessFunctionMethods inherited from interface org.apache.flink.datastream.api.function.OneInputStreamProcessFunction
endInput, onProcessingTimer, onWatermark, open, processRecordMethods inherited from interface org.apache.flink.datastream.api.function.ProcessFunction
close, declareWatermarks, usesStates
-
Method Details
-
onEventTimeWatermark
default void onEventTimeWatermark(long watermarkTimestamp, Collector<OUT> output, NonPartitionedContext<OUT> ctx) throws Exception The#onEventTimeWatermarkmethod signifies that the EventTimeProcessFunction has received an EventTimeWatermark. Other types of watermarks will be processed by theProcessFunction#onWatermarkmethod.- Throws:
Exception
-
onEventTimer
default void onEventTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) throws Exception Invoked when an event-time timer fires. Note that it is only used inKeyedPartitionStream.- Throws:
Exception
-