Class PassThroughAllWindowFunction<W extends Window,T>
java.lang.Object
org.apache.flink.streaming.api.functions.windowing.PassThroughAllWindowFunction<W,T>
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,AllWindowFunction<T,T, W>
@Internal
public class PassThroughAllWindowFunction<W extends Window,T>
extends Object
implements AllWindowFunction<T,T,W>
A
AllWindowFunction that just emits each input element.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PassThroughAllWindowFunction
public PassThroughAllWindowFunction()
-
-
Method Details
-
apply
public void apply(W window, Iterable<T> input, org.apache.flink.util.Collector<T> out) throws Exception Description copied from interface:AllWindowFunctionEvaluates the window and outputs none or several elements.- Specified by:
applyin 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.
-