object StreamExecutionEnvironment
- Alphabetic
- By Inheritance
- StreamExecutionEnvironment
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createLocalEnvironment(parallelism: Int, configuration: Configuration): StreamExecutionEnvironment
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.
- parallelism
The parallelism for the local environment.
- configuration
Pass a custom configuration into the cluster.
-
def
createLocalEnvironment(parallelism: Int = JavaEnv.getDefaultLocalParallelism): StreamExecutionEnvironment
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).
-
def
createLocalEnvironmentWithWebUI(config: Configuration = null): StreamExecutionEnvironment
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.
- config
optional config for the local execution
- returns
The created StreamExecutionEnvironment
- Annotations
- @PublicEvolving()
-
def
createRemoteEnvironment(host: String, port: Int, parallelism: Int, jarFiles: String*): 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.
- 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.
-
def
createRemoteEnvironment(host: String, port: Int, jarFiles: String*): 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 cluster's default parallelism, unless the parallelism is set explicitly via StreamExecutionEnvironment.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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getDefaultLocalParallelism: Int
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().
- Annotations
- @PublicEvolving()
-
def
getExecutionEnvironment: StreamExecutionEnvironment
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
setDefaultLocalParallelism(parallelism: Int): Unit
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().
- parallelism
The default parallelism to use for local execution.
- Annotations
- @PublicEvolving()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated