@Internal public class PassThroughWindowFunction<K,W extends Window,T> extends Object implements WindowFunction<T,T,K,W>
WindowFunction that just emits each input element.| Constructor and Description |
|---|
PassThroughWindowFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(K k,
W window,
Iterable<T> input,
org.apache.flink.util.Collector<T> out)
Evaluates the window and outputs none or several elements.
|
public void apply(K k, W window, Iterable<T> input, org.apache.flink.util.Collector<T> out) throws Exception
WindowFunctionapply in interface 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–2024 The Apache Software Foundation. All rights reserved.