@Internal public class ReduceIterableAllWindowFunction<W extends Window,T> extends Object implements AllWindowFunction<T,T,W>
Constructor and Description |
---|
ReduceIterableAllWindowFunction(ReduceFunction<T> reduceFunction) |
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 ReduceIterableAllWindowFunction(ReduceFunction<T> reduceFunction)
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–2017 The Apache Software Foundation. All rights reserved.