public class ExecutionEnvironment$ extends Object
Modifier and Type | Field and Description |
---|---|
static ExecutionEnvironment$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ExecutionEnvironment$() |
Modifier and Type | Method and Description |
---|---|
ExecutionEnvironment |
createCollectionsEnvironment()
Creates an execution environment that uses Java Collections underneath.
|
ExecutionEnvironment |
createLocalEnvironment(Configuration customConfiguration)
Creates a local execution environment.
|
ExecutionEnvironment |
createLocalEnvironment(int parallelism)
Creates a local execution environment.
|
ExecutionEnvironment |
createRemoteEnvironment(String host,
int port,
Configuration clientConfiguration,
scala.collection.Seq<String> jarFiles)
Creates a remote execution environment.
|
ExecutionEnvironment |
createRemoteEnvironment(String host,
int port,
int parallelism,
scala.collection.Seq<String> jarFiles)
Creates a remote execution environment.
|
ExecutionEnvironment |
createRemoteEnvironment(String host,
int port,
scala.collection.Seq<String> jarFiles)
Creates a remote execution environment.
|
ExecutionEnvironment |
getExecutionEnvironment()
Creates an execution environment that represents the context in which the program is
currently executed.
|
public static final ExecutionEnvironment$ MODULE$
public ExecutionEnvironment getExecutionEnvironment()
public ExecutionEnvironment createLocalEnvironment(int parallelism)
public ExecutionEnvironment createLocalEnvironment(Configuration customConfiguration)
public ExecutionEnvironment createCollectionsEnvironment()
public ExecutionEnvironment createRemoteEnvironment(String host, int port, scala.collection.Seq<String> jarFiles)
ExecutionEnvironment.setParallelism()
.
host
- The host name or address of the master (JobManager),
where the program should be executed.port
- The port of the master (JobManager), where the program should be executed.jarFiles
- The JAR files with code that needs to be shipped to the cluster. If the
program uses
user-defined functions, user-defined input formats, or any libraries,
those must be
provided in the JAR files.public ExecutionEnvironment createRemoteEnvironment(String host, int port, int parallelism, scala.collection.Seq<String> jarFiles)
host
- The host name or address of the master (JobManager),
where the program should be executed.port
- The port of the master (JobManager), where the program should be executed.parallelism
- The parallelism to use during the execution.jarFiles
- The JAR files with code that needs to be shipped to the cluster. If the
program uses
user-defined functions, user-defined input formats, or any libraries,
those must be
provided in the JAR files.public ExecutionEnvironment createRemoteEnvironment(String host, int port, Configuration clientConfiguration, scala.collection.Seq<String> jarFiles)
ExecutionEnvironment.setParallelism
.
Cluster configuration has to be done in the remotely running Flink instance.
host
- The host name or address of the master (JobManager), where the program should be
executed.port
- The port of the master (JobManager), where the program should be executed.clientConfiguration
- Pass a custom configuration to the Client.jarFiles
- The JAR files with code that needs to be shipped to the cluster. If the
program uses user-defined functions, user-defined input formats, or any
libraries, those must be provided in the JAR files.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.