ScalaAllWindowFunctionWrapper

org.apache.flink.api.function.util.ScalaAllWindowFunctionWrapper
final class ScalaAllWindowFunctionWrapper[IN, OUT, W <: Window](func: AllWindowFunction[IN, OUT, W]) extends WrappingFunction[AllWindowFunction[IN, OUT, W]] with AllWindowFunction[IN, OUT, W] with RichFunction

A wrapper function that exposes a Scala WindowFunction as a JavaWindow function.

The Scala and Java Window functions differ in their type of "Iterable":

  • Scala WindowFunction: scala.Iterable
  • Java WindowFunction: java.lang.Iterable

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

Attributes

Definition Classes
AllWindowFunction
override def getIterationRuntimeContext: IterationRuntimeContext

Attributes

Definition Classes
AbstractRichFunction -> RichFunction
override def getRuntimeContext: RuntimeContext

Attributes

Definition Classes
AbstractRichFunction -> RichFunction

Inherited methods

def close(): Unit

Attributes

Inherited from:
WrappingFunction

Attributes

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

Attributes

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

Attributes

Inherited from:
WrappingFunction