@Internal public class PassThroughAllWindowFunction<W extends Window,T> extends Object implements AllWindowFunction<T,T,W>
AllWindowFunction
that just emits each input element.Constructor and Description |
---|
PassThroughAllWindowFunction() |
Modifier and Type | Method and Description |
---|---|
void |
apply(W window,
Iterable<T> input,
Collector<T> out)
Evaluates the window and outputs none or several elements.
|
public void apply(W window, Iterable<T> input, Collector<T> out) throws Exception
AllWindowFunction
apply
in interface AllWindowFunction<T,T,W extends Window>
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.