Class

org.apache.flink.streaming.api.scala.function

RichWindowFunction

Related Doc: package function

Permalink

abstract class RichWindowFunction[IN, OUT, KEY, W <: Window] extends AbstractRichFunction with WindowFunction[IN, OUT, KEY, W]

Rich variant of the org.apache.flink.streaming.api.scala.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.

IN

The type of the input value.

OUT

The type of the output value.

KEY

The type of the key.

W

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

Linear Supertypes
WindowFunction[IN, OUT, KEY, W], AbstractRichFunction, RichFunction, Function, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichWindowFunction
  2. WindowFunction
  3. AbstractRichFunction
  4. RichFunction
  5. Function
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichWindowFunction()

    Permalink

Abstract Value Members

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

    Permalink

    Evaluates the window and outputs none or several elements.

    Evaluates the window and outputs none or several elements.

    key

    The key for which this window is evaluated.

    window

    The window that is being evaluated.

    input

    The elements in the window being evaluated.

    out

    A collector for emitting elements.

    Definition Classes
    WindowFunction
    Exceptions thrown

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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
    Annotations
    @throws( classOf[java.lang.Exception] )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getIterationRuntimeContext(): IterationRuntimeContext

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  12. def getRuntimeContext(): RuntimeContext

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def open(arg0: Configuration): Unit

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
    Annotations
    @throws( classOf[java.lang.Exception] )
  19. def setRuntimeContext(arg0: RuntimeContext): Unit

    Permalink
    Definition Classes
    AbstractRichFunction → RichFunction
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WindowFunction[IN, OUT, KEY, W]

Inherited from AbstractRichFunction

Inherited from RichFunction

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped