Class InternalTwoInputWindowStreamProcessFunction<IN1,IN2,OUT,W extends org.apache.flink.streaming.api.windowing.windows.Window>
java.lang.Object
org.apache.flink.datastream.impl.extension.window.function.InternalTwoInputWindowStreamProcessFunction<IN1,IN2,OUT,W>
- Type Parameters:
IN1- Type of the first input elements.IN2- Type of the second input elements.OUT- Type of the output elements.W- Type of the window.
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.datastream.api.function.ProcessFunction,org.apache.flink.datastream.api.function.TwoInputNonBroadcastStreamProcessFunction<IN1,IN2, OUT>
public class InternalTwoInputWindowStreamProcessFunction<IN1,IN2,OUT,W extends org.apache.flink.streaming.api.windowing.windows.Window>
extends Object
implements org.apache.flink.datastream.api.function.TwoInputNonBroadcastStreamProcessFunction<IN1,IN2,OUT>
A class that wrap a
TwoInputNonBroadcastWindowStreamProcessFunction to process function.
This will be translated to a window operator instead of vanilla process operator.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalTwoInputWindowStreamProcessFunction(org.apache.flink.datastream.api.extension.window.function.TwoInputNonBroadcastWindowStreamProcessFunction<IN1, IN2, OUT> windowProcessFunction, org.apache.flink.streaming.api.windowing.assigners.WindowAssigner<org.apache.flink.util.TaggedUnion<IN1, IN2>, W> assigner, org.apache.flink.streaming.api.windowing.triggers.Trigger<org.apache.flink.util.TaggedUnion<IN1, IN2>, W> trigger, long allowedLateness, org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy windowStrategy) -
Method Summary
Modifier and TypeMethodDescriptionlongorg.apache.flink.streaming.api.windowing.assigners.WindowAssigner<org.apache.flink.util.TaggedUnion<IN1,IN2>, W> org.apache.flink.streaming.api.windowing.triggers.Trigger<org.apache.flink.util.TaggedUnion<IN1,IN2>, W> org.apache.flink.datastream.api.extension.window.function.TwoInputNonBroadcastWindowStreamProcessFunction<IN1,IN2, OUT> org.apache.flink.datastream.api.extension.window.strategy.WindowStrategyvoidprocessRecordFromFirstInput(IN1 record, org.apache.flink.datastream.api.common.Collector<OUT> output, org.apache.flink.datastream.api.context.PartitionedContext<OUT> ctx) voidprocessRecordFromSecondInput(IN2 record, org.apache.flink.datastream.api.common.Collector<OUT> output, org.apache.flink.datastream.api.context.PartitionedContext<OUT> ctx) Set<org.apache.flink.api.common.state.StateDeclaration>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.datastream.api.function.ProcessFunction
close, declareWatermarksMethods inherited from interface org.apache.flink.datastream.api.function.TwoInputNonBroadcastStreamProcessFunction
endFirstInput, endSecondInput, onProcessingTimer, onWatermarkFromFirstInput, onWatermarkFromSecondInput, open
-
Constructor Details
-
InternalTwoInputWindowStreamProcessFunction
public InternalTwoInputWindowStreamProcessFunction(org.apache.flink.datastream.api.extension.window.function.TwoInputNonBroadcastWindowStreamProcessFunction<IN1, IN2, OUT> windowProcessFunction, org.apache.flink.streaming.api.windowing.assigners.WindowAssigner<org.apache.flink.util.TaggedUnion<IN1, IN2>, W> assigner, org.apache.flink.streaming.api.windowing.triggers.Trigger<org.apache.flink.util.TaggedUnion<IN1, IN2>, W> trigger, long allowedLateness, org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy windowStrategy)
-
-
Method Details
-
processRecordFromFirstInput
-
processRecordFromSecondInput
-
getWindowProcessFunction
-
usesStates
- Specified by:
usesStatesin interfaceorg.apache.flink.datastream.api.function.ProcessFunction
-
getAssigner
-
getTrigger
-
getAllowedLateness
public long getAllowedLateness() -
getWindowStrategy
public org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy getWindowStrategy()
-