KEY - The key type.W - The window type.IN - The type stored in state.public class PassThroughReader<KEY,W extends org.apache.flink.streaming.api.windowing.windows.Window,IN> extends WindowReaderFunction<IN,IN,KEY,W>
WindowReaderFunction that just emits each input element.WindowReaderFunction.Context<W extends org.apache.flink.streaming.api.windowing.windows.Window>| Constructor and Description |
|---|
PassThroughReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
readWindow(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.
|
public void readWindow(KEY key, WindowReaderFunction.Context<W> context, Iterable<IN> elements, org.apache.flink.util.Collector<IN> out)
WindowReaderFunctionreadWindow in class WindowReaderFunction<IN,IN,KEY,W extends org.apache.flink.streaming.api.windowing.windows.Window>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.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.