Class PassThroughReader<KEY,W extends org.apache.flink.streaming.api.windowing.windows.Window,IN>
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.state.api.functions.WindowReaderFunction<IN,IN,KEY,W>
org.apache.flink.state.api.input.operator.window.PassThroughReader<KEY,W,IN>
- Type Parameters:
KEY- The key type.W- The window type.IN- The type stored in state.
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.RichFunction
public class PassThroughReader<KEY,W extends org.apache.flink.streaming.api.windowing.windows.Window,IN>
extends WindowReaderFunction<IN,IN,KEY,W>
A
WindowReaderFunction that just emits each input element.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.state.api.functions.WindowReaderFunction
WindowReaderFunction.Context<W extends org.apache.flink.streaming.api.windowing.windows.Window> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadWindow(KEY key, WindowReaderFunction.Context<W> context, Iterable<IN> elements, org.apache.flink.util.Collector<IN> out) Evaluates the window and outputs none or several elements.Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
-
Constructor Details
-
PassThroughReader
public PassThroughReader()
-
-
Method Details
-
readWindow
public void readWindow(KEY key, WindowReaderFunction.Context<W> context, Iterable<IN> elements, org.apache.flink.util.Collector<IN> out) Description copied from class:WindowReaderFunctionEvaluates the window and outputs none or several elements.- Specified by:
readWindowin classWindowReaderFunction<IN,IN, KEY, W extends org.apache.flink.streaming.api.windowing.windows.Window> - Parameters:
key- The key for which this window is evaluated.context- The context in which the window is being evaluated.elements- The elements in the window being evaluated.out- A collector for emitting elements.
-