@Internal public class PassThroughWindowFunction<K,W extends Window,T> extends Object implements WindowFunction<T,T,K,W>
WindowFunction
that just emits each input element.构造器和说明 |
---|
PassThroughWindowFunction() |
public void apply(K k, W window, Iterable<T> input, org.apache.flink.util.Collector<T> out) throws Exception
WindowFunction
apply
在接口中 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–2019 The Apache Software Foundation. All rights reserved.