org.apache.flink.streaming.api.scala
Creates a local execution environment.
Creates a local execution environment. The local execution environment will run the program in a multi-threaded fashion in the same JVM as the environment was created in.
The parallelism for the local environment.
Pass a custom configuration into the cluster.
Creates a local execution environment.
Creates a local execution environment. The local execution environment will run the program in a multi-threaded fashion in the same JVM as the environment was created in.
This method sets the environment's default parallelism to given parameter, which defaults to the value set via setDefaultLocalParallelism(Int).
Creates a StreamExecutionEnvironment for local program execution that also starts the web monitoring UI.
Creates a StreamExecutionEnvironment for local program execution that also starts the web monitoring UI.
The local execution environment will run the program in a multi-threaded fashion in the same JVM as the environment was created in. It will use the parallelism specified in the parameter.
If the configuration key 'rest.port' was set in the configuration, that particular port will be used for the web UI. Otherwise, the default port (8081) will be used.
optional config for the local execution
The created StreamExecutionEnvironment
Creates a remote execution environment.
Creates a remote execution environment. The remote environment sends (parts of) the program to a cluster for execution. Note that all file paths used in the program must be accessible from the cluster. The execution will use the specified parallelism.
The host name or address of the master (JobManager), where the program should be executed.
The port of the master (JobManager), where the program should be executed.
The parallelism to use during the execution.
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.
Creates a remote execution environment.
Creates a remote execution environment. The remote environment sends (parts of) the program to a cluster for execution. Note that all file paths used in the program must be accessible from the cluster. The execution will use the cluster's default parallelism, unless the parallelism is set explicitly via StreamExecutionEnvironment.setParallelism().
The host name or address of the master (JobManager), where the program should be executed.
The port of the master (JobManager), where the program should be executed.
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.
Gets the default parallelism that will be used for the local execution environment created by createLocalEnvironment().
Gets the default parallelism that will be used for the local execution environment created by createLocalEnvironment().
Creates an execution environment that represents the context in which the program is currently executed.
Creates an execution environment that represents the context in which the program is currently executed. If the program is invoked standalone, this method returns a local execution environment. If the program is invoked from within the command line client to be submitted to a cluster, this method returns the execution environment of this cluster.
Sets the default parallelism that will be used for the local execution environment created by createLocalEnvironment().
Sets the default parallelism that will be used for the local execution environment created by createLocalEnvironment().
The default parallelism to use for local execution.