Uses of Interface
org.apache.flink.datastream.api.context.PartitionedContext
Packages that use PartitionedContext
Package
Description
-
Uses of PartitionedContext in org.apache.flink.datastream.api.extension.eventtime.function
Methods in org.apache.flink.datastream.api.extension.eventtime.function with parameters of type PartitionedContextModifier and TypeMethodDescriptiondefault voidOneInputEventTimeStreamProcessFunction.onEventTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Invoked when an event-time timer fires.default voidTwoInputBroadcastEventTimeStreamProcessFunction.onEventTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Invoked when an event-time timer fires.default voidTwoInputNonBroadcastEventTimeStreamProcessFunction.onEventTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Invoked when an event-time timer fires. -
Uses of PartitionedContext in org.apache.flink.datastream.api.extension.window.function
Methods in org.apache.flink.datastream.api.extension.window.function with parameters of type PartitionedContextModifier and TypeMethodDescriptiondefault voidOneInputWindowStreamProcessFunction.onClear(Collector<OUT> output, PartitionedContext<OUT> ctx, OneInputWindowContext<IN> windowContext) Callback when a window is about to be cleaned up.default voidTwoInputNonBroadcastWindowStreamProcessFunction.onClear(Collector<OUT> output, PartitionedContext<OUT> ctx, TwoInputWindowContext<IN1, IN2> windowContext) Callback when a window is about to be cleaned up.default voidOneInputWindowStreamProcessFunction.onLateRecord(IN record, Collector<OUT> output, PartitionedContext<OUT> ctx) This method will be invoked when a record is received after the window has been cleaned.default voidTwoInputNonBroadcastWindowStreamProcessFunction.onLateRecord1(IN1 record, Collector<OUT> output, PartitionedContext<OUT> ctx) This method will be invoked when a record is received from input1 after the window has been cleaned.default voidTwoInputNonBroadcastWindowStreamProcessFunction.onLateRecord2(IN2 record, Collector<OUT> output, PartitionedContext<OUT> ctx) This method will be invoked when a record is received from input2 after the window has been cleaned.default voidOneInputWindowStreamProcessFunction.onRecord(IN record, Collector<OUT> output, PartitionedContext<OUT> ctx, OneInputWindowContext<IN> windowContext) This method will be invoked when a record is received.default voidTwoInputNonBroadcastWindowStreamProcessFunction.onRecord1(IN1 record, Collector<OUT> output, PartitionedContext<OUT> ctx, TwoInputWindowContext<IN1, IN2> windowContext) This method will be invoked when a record is received from input1.default voidTwoInputNonBroadcastWindowStreamProcessFunction.onRecord2(IN2 record, Collector<OUT> output, PartitionedContext<OUT> ctx, TwoInputWindowContext<IN1, IN2> windowContext) This method will be invoked when a record is received from input2.voidOneInputWindowStreamProcessFunction.onTrigger(Collector<OUT> output, PartitionedContext<OUT> ctx, OneInputWindowContext<IN> windowContext) This method will be invoked when the Window is triggered, you can obtain all the input records in the Window byOneInputWindowContext.getAllRecords().voidTwoInputNonBroadcastWindowStreamProcessFunction.onTrigger(Collector<OUT> output, PartitionedContext<OUT> ctx, TwoInputWindowContext<IN1, IN2> windowContext) This method will be invoked when the Window is triggered, you can obtain all the input records in the Window byTwoInputWindowContext.getAllRecords1()andTwoInputWindowContext.getAllRecords2(). -
Uses of PartitionedContext in org.apache.flink.datastream.api.function
Methods in org.apache.flink.datastream.api.function with parameters of type PartitionedContextModifier and TypeMethodDescriptionvoidApplyPartitionFunction.apply(Collector<OUT> collector, PartitionedContext<OUT> ctx) The actual method to be applied to each partition.default voidOneInputStreamProcessFunction.onProcessingTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Callback for processing timer.default voidTwoInputBroadcastStreamProcessFunction.onProcessingTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Callback for processing timer.default voidTwoInputNonBroadcastStreamProcessFunction.onProcessingTimer(long timestamp, Collector<OUT> output, PartitionedContext<OUT> ctx) Callback for processing timer.voidOneInputStreamProcessFunction.processRecord(IN record, Collector<OUT> output, PartitionedContext<OUT> ctx) Process record and emit data throughCollector.voidTwoInputNonBroadcastStreamProcessFunction.processRecordFromFirstInput(IN1 record, Collector<OUT> output, PartitionedContext<OUT> ctx) Process record from the first input and emit data throughCollector.voidTwoInputBroadcastStreamProcessFunction.processRecordFromNonBroadcastInput(IN1 record, Collector<OUT> output, PartitionedContext<OUT> ctx) Process record from non-broadcast input and emit data throughCollector.voidTwoInputNonBroadcastStreamProcessFunction.processRecordFromSecondInput(IN2 record, Collector<OUT> output, PartitionedContext<OUT> ctx) Process record from the second input and emit data throughCollector.