Uses of Interface
org.apache.flink.datastream.api.context.TwoOutputPartitionedContext
-
-
Uses of TwoOutputPartitionedContext in org.apache.flink.datastream.api.extension.eventtime.function
Methods in org.apache.flink.datastream.api.extension.eventtime.function with parameters of type TwoOutputPartitionedContext Modifier and Type Method Description default voidTwoOutputEventTimeStreamProcessFunction. onEventTimer(long timestamp, Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx)Invoked when an event-time timer fires. -
Uses of TwoOutputPartitionedContext in org.apache.flink.datastream.api.extension.window.function
Methods in org.apache.flink.datastream.api.extension.window.function with parameters of type TwoOutputPartitionedContext Modifier and Type Method Description default voidTwoOutputWindowStreamProcessFunction. onClear(Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx, OneInputWindowContext<IN> windowContext)Callback when a window is about to be cleaned up.default voidTwoOutputWindowStreamProcessFunction. onLateRecord(IN record, Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx)This method will be invoked when a record is received after the window has been cleaned.default voidTwoOutputWindowStreamProcessFunction. onRecord(IN record, Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx, OneInputWindowContext<IN> windowContext)This method will be invoked when a record is received.voidTwoOutputWindowStreamProcessFunction. onTrigger(Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> 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(). -
Uses of TwoOutputPartitionedContext in org.apache.flink.datastream.api.function
Methods in org.apache.flink.datastream.api.function with parameters of type TwoOutputPartitionedContext Modifier and Type Method Description voidTwoOutputApplyPartitionFunction. apply(Collector<OUT1> firstOutput, Collector<OUT2> secondOutput, TwoOutputPartitionedContext<OUT1,OUT2> ctx)The actual method to be applied to each partition.default voidTwoOutputStreamProcessFunction. onProcessingTimer(long timestamp, Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx)Callback for processing timer.voidTwoOutputStreamProcessFunction. processRecord(IN record, Collector<OUT1> output1, Collector<OUT2> output2, TwoOutputPartitionedContext<OUT1,OUT2> ctx)Process and emit record to the first/second output throughCollectors.
-