Class ExecutionContextImpl

java.lang.Object
org.apache.flink.table.runtime.context.ExecutionContextImpl
All Implemented Interfaces:
ExecutionContext

public final class ExecutionContextImpl extends Object implements ExecutionContext
Implementation of ExecutionContext.
  • Constructor Details

    • ExecutionContextImpl

      public ExecutionContextImpl(org.apache.flink.streaming.api.operators.AbstractStreamOperator<?> operator, org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
  • Method Details

    • currentKey

      public org.apache.flink.table.data.RowData currentKey()
      Specified by:
      currentKey in interface ExecutionContext
      Returns:
      key of the current processed element.
    • setCurrentKey

      public void setCurrentKey(org.apache.flink.table.data.RowData key)
      Description copied from interface: ExecutionContext
      Sets current key.
      Specified by:
      setCurrentKey in interface ExecutionContext
    • getRuntimeContext

      public org.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()
      Specified by:
      getRuntimeContext in interface ExecutionContext