public class ExecutionEnvironmentImpl extends Object implements ExecutionEnvironment
ExecutionEnvironment
.
IMPORTANT: Even though this is not part of public API, ExecutionEnvironment
will get
this class instance through reflection, so we must ensure that the package path, class name and
the signature of newInstance()
does not change.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
public static ExecutionEnvironment newInstance()
ExecutionEnvironment
.
IMPORTANT: The method is only expected to be called by ExecutionEnvironment
via
reflection, so we must ensure that the package path, class name and the signature of this
method does not change.
public void execute(String jobName) throws Exception
ExecutionEnvironment
execute
in interface ExecutionEnvironment
Exception
public RuntimeExecutionMode getExecutionMode()
ExecutionEnvironment
getExecutionMode
in interface ExecutionEnvironment
public ExecutionEnvironment setExecutionMode(RuntimeExecutionMode runtimeMode)
ExecutionEnvironment
setExecutionMode
in interface ExecutionEnvironment
protected static void initializeContextEnvironment(ExecutionEnvironmentFactory ctx)
protected static void resetContextEnvironment()
public <OUT> NonKeyedPartitionStream<OUT> fromSource(Source<OUT> source, String sourceName)
fromSource
in interface ExecutionEnvironment
public Configuration getConfiguration()
public ExecutionConfig getExecutionConfig()
public int getParallelism()
public List<Transformation<?>> getTransformations()
public void setParallelism(int parallelism)
public CheckpointConfig getCheckpointCfg()
public void addOperator(Transformation<?> transformation)
public StreamGraph getStreamGraph()
StreamGraph
and clear all transformations.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.