Class ExecutionContextImpl
java.lang.Object
org.apache.flink.table.runtime.context.ExecutionContextImpl
- All Implemented Interfaces:
ExecutionContext
Implementation of ExecutionContext.
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionContextImpl(org.apache.flink.streaming.api.operators.AbstractStreamOperator<?> operator, org.apache.flink.api.common.functions.RuntimeContext runtimeContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.data.RowDataorg.apache.flink.api.common.functions.RuntimeContextvoidsetCurrentKey(org.apache.flink.table.data.RowData key) Sets current key.
-
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:
currentKeyin interfaceExecutionContext- Returns:
- key of the current processed element.
-
setCurrentKey
public void setCurrentKey(org.apache.flink.table.data.RowData key) Description copied from interface:ExecutionContextSets current key.- Specified by:
setCurrentKeyin interfaceExecutionContext
-
getRuntimeContext
public org.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()- Specified by:
getRuntimeContextin interfaceExecutionContext
-