Class PassThroughAllWindowFunction<W extends Window,T>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.windowing.PassThroughAllWindowFunction<W,T>
-
- All Implemented Interfaces:
Serializable
,Function
,AllWindowFunction<T,T,W>
@Internal public class PassThroughAllWindowFunction<W extends Window,T> extends Object implements AllWindowFunction<T,T,W>
AAllWindowFunction
that just emits each input element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PassThroughAllWindowFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(W window, Iterable<T> input, Collector<T> out)
Evaluates the window and outputs none or several elements.
-
-
-
Method Detail
-
apply
public void apply(W window, Iterable<T> input, Collector<T> out) throws Exception
Description copied from interface:AllWindowFunction
Evaluates the window and outputs none or several elements.- Specified by:
apply
in interfaceAllWindowFunction<T,T,W extends Window>
- Parameters:
window
- The window that is being evaluated.input
- 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.
-
-