Class PassThroughReader<KEY,​W extends org.apache.flink.streaming.api.windowing.windows.Window,​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:
    Serialized Form
    • Constructor Detail

      • PassThroughReader

        public PassThroughReader()
    • Method Detail

      • 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.