RichWindowFunction
abstract class RichWindowFunction[IN, OUT, KEY, W <: Window] extends AbstractRichFunction with WindowFunction[IN, OUT, KEY, W]
Rich variant of the io.findify.flink.api.function.WindowFunction.
As a org.apache.flink.api.common.functions.RichFunction, it gives access to the org.apache.flink.api.common.functions.RuntimeContext and provides setup and tear-down methods.
- Type parameters:
- IN
The type of the input value.
- KEY
The type of the key.
- OUT
The type of the output value.
- W
The type of Window that this window function can be applied on.
class AbstractRichFunction
trait RichFunction
trait Function
trait Serializable
class Object
trait Matchable
class Any
Value members
Inherited methods
Evaluates the window and outputs none or several elements.
Evaluates the window and outputs none or several elements.
- Value parameters:
- input
The elements in the window being evaluated.
- key
The key for which this window is evaluated.
- out
A collector for emitting elements.
- window
The window that is being evaluated.
- Throws:
- Exception
The function may throw exceptions to fail the program and trigger recovery.
- Inherited from:
- WindowFunction