Class InternalOneInputWindowStreamProcessFunction<IN,OUT,W extends org.apache.flink.streaming.api.windowing.windows.Window>
java.lang.Object
org.apache.flink.datastream.impl.extension.window.function.InternalOneInputWindowStreamProcessFunction<IN,OUT,W>
- Type Parameters:
IN- Type of the 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.OneInputStreamProcessFunction<IN,,OUT> org.apache.flink.datastream.api.function.ProcessFunction
public class InternalOneInputWindowStreamProcessFunction<IN,OUT,W extends org.apache.flink.streaming.api.windowing.windows.Window>
extends Object
implements org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT>
A class that wrap a
OneInputWindowStreamProcessFunction to process function. This will be
translated to a window operator instead of vanilla process operator.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalOneInputWindowStreamProcessFunction(org.apache.flink.datastream.api.extension.window.function.OneInputWindowStreamProcessFunction<IN, OUT> windowProcessFunction, org.apache.flink.streaming.api.windowing.assigners.WindowAssigner<IN, W> assigner, org.apache.flink.streaming.api.windowing.triggers.Trigger<IN, W> trigger, long allowedLateness, org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy windowStrategy) -
Method Summary
Modifier and TypeMethodDescriptionlongorg.apache.flink.datastream.api.extension.window.function.OneInputWindowStreamProcessFunction<IN,OUT> org.apache.flink.datastream.api.extension.window.strategy.WindowStrategyvoidprocessRecord(IN 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.OneInputStreamProcessFunction
endInput, onProcessingTimer, onWatermark, openMethods inherited from interface org.apache.flink.datastream.api.function.ProcessFunction
close, declareWatermarks
-
Constructor Details
-
InternalOneInputWindowStreamProcessFunction
public InternalOneInputWindowStreamProcessFunction(org.apache.flink.datastream.api.extension.window.function.OneInputWindowStreamProcessFunction<IN, OUT> windowProcessFunction, org.apache.flink.streaming.api.windowing.assigners.WindowAssigner<IN, W> assigner, org.apache.flink.streaming.api.windowing.triggers.Trigger<IN, W> trigger, long allowedLateness, org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy windowStrategy)
-
-
Method Details
-
processRecord
-
getAssigner
-
getTrigger
-
getAllowedLateness
public long getAllowedLateness() -
getWindowStrategy
public org.apache.flink.datastream.api.extension.window.strategy.WindowStrategy getWindowStrategy() -
getWindowProcessFunction
-
usesStates
- Specified by:
usesStatesin interfaceorg.apache.flink.datastream.api.function.ProcessFunction
-