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:
  • 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: WindowReaderFunction
      Evaluates the window and outputs none or several elements.
      Specified by:
      readWindow in class WindowReaderFunction<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.