Interface WindowProcessor.Context<W>

All Known Subinterfaces:
AsyncStateWindowProcessor.AsyncStateContext<W>, SyncStateWindowProcessor.SyncStateContext<W>
Enclosing interface:
WindowProcessor<W,C extends WindowProcessor.Context<W>>

public static interface WindowProcessor.Context<W>
Information available in an invocation of methods of WindowProcessor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.runtime.memory.MemoryManager
    Returns the current MemoryManager.
    long
    Returns the managed memory size can be used by this operator.
    Returns the object instance of this operator which is used for tracking managed memories used by this operator.
    org.apache.flink.api.common.functions.RuntimeContext
    Returns the current RuntimeContext.
    org.apache.flink.streaming.api.operators.InternalTimerService<W>
    Returns the current InternalTimerService.
    void
    output(org.apache.flink.table.data.RowData result)
    Outputs results to downstream operators.
  • Method Details

    • getOperatorOwner

      Object getOperatorOwner()
      Returns the object instance of this operator which is used for tracking managed memories used by this operator.
    • getMemoryManager

      org.apache.flink.runtime.memory.MemoryManager getMemoryManager()
      Returns the current MemoryManager.
    • getMemorySize

      long getMemorySize()
      Returns the managed memory size can be used by this operator.
    • getTimerService

      org.apache.flink.streaming.api.operators.InternalTimerService<W> getTimerService()
      Returns the current InternalTimerService.
    • getRuntimeContext

      org.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()
      Returns the current RuntimeContext.
    • output

      void output(org.apache.flink.table.data.RowData result)
      Outputs results to downstream operators.