Class AggregateApplyAllWindowFunction<W extends Window,​T,​ACC,​V,​R>

    • Method Detail

      • apply

        public void apply​(W window,
                          Iterable<T> values,
                          Collector<R> out)
                   throws Exception
        Description copied from interface: AllWindowFunction
        Evaluates the window and outputs none or several elements.
        Specified by:
        apply in interface AllWindowFunction<W extends Window,​T,​ACC>
        Parameters:
        window - The window that is being evaluated.
        values - The elements in the window being evaluated.
        out - A collector for emitting elements.
        Throws:
        Exception - The function may throw exceptions to fail the program and trigger recovery.