public final class ScalaAllWindowFunction<IN,OUT,W extends Window> extends Object implements AllWindowFunction<IN,OUT,W>
Constructor and Description |
---|
ScalaAllWindowFunction(scala.Function3<W,scala.collection.Iterable<IN>,Collector<OUT>,scala.runtime.BoxedUnit> function) |
Modifier and Type | Method and Description |
---|---|
void |
apply(W window,
Iterable<IN> input,
Collector<OUT> out)
Evaluates the window and outputs none or several elements.
|
public void apply(W window, Iterable<IN> input, Collector<OUT> out) throws Exception
AllWindowFunction
apply
in interface AllWindowFunction<IN,OUT,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–2018 The Apache Software Foundation. All rights reserved.