ScalaWindowFunctionWrapper

org.apache.flinkx.api.function.util.ScalaWindowFunctionWrapper
final class ScalaWindowFunctionWrapper[IN, OUT, KEY, W <: Window](func: WindowFunction[IN, OUT, KEY, W]) extends WrappingFunction[WindowFunction[IN, OUT, KEY, W]], WindowFunction[IN, OUT, KEY, W], 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 WindowFunction[IN, OUT, KEY, W]
class WrappingFunction[WindowFunction[IN, OUT, KEY, W]]
class AbstractRichFunction
trait RichFunction
trait Function
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
WindowFunction
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