@Internal public class PassThroughWindowFunction<K,W extends Window,T> extends Object implements WindowFunction<T,T,K,W>
WindowFunctionthat just emits each input element.
|Constructor and Description|
|Modifier and Type||Method and Description|
Evaluates the window and outputs none or several elements.
public void apply(K k, W window, Iterable<T> input, Collector<T> out) throws Exception
WindowFunction<T,T,K,W extends Window>
k- The key for which this window is evaluated.
window- The window that is being evaluated.
input- The elements in the window being evaluated.
out- A collector for emitting elements.
Exception- The function may throw exceptions to fail the program and trigger recovery.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.