Package org.apache.flink.datastream.impl
Class ExecutionContextEnvironment
java.lang.Object
org.apache.flink.datastream.impl.ExecutionEnvironmentImpl
org.apache.flink.datastream.impl.ExecutionContextEnvironment
- All Implemented Interfaces:
org.apache.flink.datastream.api.ExecutionEnvironment
Special
ExecutionEnvironment that will be used in cases where the CLI client or testing
utilities create a ExecutionEnvironment that should be used when ExecutionEnvironment.getInstance() ()} is called.-
Constructor Summary
ConstructorsConstructorDescriptionExecutionContextEnvironment(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassLoader) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetAsContext(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader, org.apache.flink.configuration.Configuration clusterConfiguration, ClassLoader userCodeClassLoader) static voidMethods inherited from class org.apache.flink.datastream.impl.ExecutionEnvironmentImpl
addOperator, execute, fromSource, getCheckpointCfg, getConfiguration, getExecutionConfig, getExecutionMode, getParallelism, getStreamGraph, getTransformations, initializeContextEnvironment, newInstance, resetContextEnvironment, setExecutionMode, setParallelism
-
Constructor Details
-
ExecutionContextEnvironment
public ExecutionContextEnvironment(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassLoader)
-
-
Method Details
-
setAsContext
public static void setAsContext(org.apache.flink.core.execution.PipelineExecutorServiceLoader executorServiceLoader, org.apache.flink.configuration.Configuration clusterConfiguration, ClassLoader userCodeClassLoader) -
unsetAsContext
public static void unsetAsContext()
-