RichAllWindowFunction

org.apache.flinkx.api.function.RichAllWindowFunction
abstract class RichAllWindowFunction[IN, OUT, W <: Window] extends AbstractRichFunction, AllWindowFunction[IN, OUT, W]

Rich variant of the org.apache.flink.api.function.AllWindowFunction.

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.

OUT

The type of the output value.

W

The type of Window that this window function can be applied on.

Attributes

Graph
Supertypes
trait AllWindowFunction[IN, OUT, W]
class AbstractRichFunction
trait RichFunction
trait Function
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def apply(window: W, input: Iterable[IN], out: Collector[OUT]): Unit

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.

out

A collector for emitting elements.

window

The window that is being evaluated.

Attributes

Throws
Exception

The function may throw exceptions to fail the program and trigger recovery.

Inherited from:
AllWindowFunction
def close(): Unit

Attributes

Inherited from:
AbstractRichFunction
def getIterationRuntimeContext(): IterationRuntimeContext

Attributes

Inherited from:
AbstractRichFunction
def getRuntimeContext(): RuntimeContext

Attributes

Inherited from:
AbstractRichFunction
def open(x$0: Configuration): Unit

Attributes

Inherited from:
AbstractRichFunction
def setRuntimeContext(x$0: RuntimeContext): Unit

Attributes

Inherited from:
AbstractRichFunction