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 Summary
Constructors Constructor Description ExecutionContextImpl(org.apache.flink.streaming.api.operators.AbstractStreamOperator<?> operator, org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.data.RowData
currentKey()
org.apache.flink.api.common.functions.RuntimeContext
getRuntimeContext()
void
setCurrentKey(org.apache.flink.table.data.RowData key)
Sets current key.
-
-
-
Method Detail
-
currentKey
public org.apache.flink.table.data.RowData currentKey()
- Specified by:
currentKey
in interfaceExecutionContext
- 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 interfaceExecutionContext
-
getRuntimeContext
public org.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()
- Specified by:
getRuntimeContext
in interfaceExecutionContext
-
-