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>
TheOneInputStreamProcessFunctionthat extends with event time support.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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
initEventTimeProcessFunction
-
Methods inherited from interface org.apache.flink.datastream.api.function.OneInputStreamProcessFunction
endInput, onProcessingTimer, onWatermark, open, processRecord
-
Methods inherited from interface org.apache.flink.datastream.api.function.ProcessFunction
close, declareWatermarks, usesStates
-
-
-
-
Method Detail
-
onEventTimeWatermark
default void onEventTimeWatermark(long watermarkTimestamp, Collector<OUT> output, NonPartitionedContext<OUT> ctx) throws ExceptionThe#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 ExceptionInvoked when an event-time timer fires. Note that it is only used inKeyedPartitionStream.- Throws:
Exception
-
-