AllWindowFunction

org.apache.flink.api.function.AllWindowFunction
@Public
trait AllWindowFunction[IN, OUT, W <: Window] extends Function with Serializable

Base interface for functions that are evaluated over non-grouped windows, i.e., windows over all stream partitions.

Attributes

IN

The type of the input value.

OUT

The type of the output value.

Graph
Supertypes
trait Function
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class RichAllWindowFunction[IN, OUT, W]

Members list

Concise view

Value members

Abstract 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.

Attributes

input

The elements in the window being 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.