IN - The type of the input value.OUT - The type of the output value.KEY - The type of the key.public abstract class InternalWindowFunction<IN,OUT,KEY,W extends Window> extends Object implements org.apache.flink.api.common.functions.Function, Serializable, OutputTypeConfigurable<OUT>
| Constructor and Description |
|---|
InternalWindowFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply(KEY key,
W window,
IN input,
org.apache.flink.util.Collector<OUT> out)
Evaluates the window and outputs none or several elements.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOutputTypepublic abstract void apply(KEY key, W window, IN input, org.apache.flink.util.Collector<OUT> out) throws Exception
key - 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–2016 The Apache Software Foundation. All rights reserved.