Object/Class

org.apache.flink.api.scala

ExecutionEnvironment

Related Docs: class ExecutionEnvironment | package scala

Permalink

object ExecutionEnvironment

Annotations
@Public()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecutionEnvironment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createCollectionsEnvironment: ExecutionEnvironment

    Permalink

    Creates an execution environment that uses Java Collections underneath.

    Creates an execution environment that uses Java Collections underneath. This will execute in a single thread in the current JVM. It is very fast but will fail if the data does not fit into memory. This is useful during implementation and for debugging.

    Annotations
    @PublicEvolving()
  7. def createLocalEnvironment(customConfiguration: Configuration): ExecutionEnvironment

    Permalink

    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 allows to pass a custom Configuration to the local environment.

  8. def createLocalEnvironment(parallelism: Int = JavaEnv.getDefaultLocalParallelism): ExecutionEnvironment

    Permalink

    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).

  9. def createLocalEnvironmentWithWebUI(config: Configuration = null): ExecutionEnvironment

    Permalink

    Creates a ExecutionEnvironment for local program execution that also starts the web monitoring UI.

    Creates a ExecutionEnvironment 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()
  10. def createRemoteEnvironment(host: String, port: Int, clientConfiguration: Configuration, jarFiles: String*): ExecutionEnvironment

    Permalink

    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 custom configuration file is used to configure Akka specific configuration parameters for the Client only; Program parallelism can be set via ExecutionEnvironment.setParallelism.

    ClusterClient 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.

    returns

    A remote environment that executes the program on a cluster.

  11. def createRemoteEnvironment(host: String, port: Int, parallelism: Int, jarFiles: String*): ExecutionEnvironment

    Permalink

    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.

  12. def createRemoteEnvironment(host: String, port: Int, jarFiles: String*): ExecutionEnvironment

    Permalink

    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 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.

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getDefaultLocalParallelism: Int

    Permalink

    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()
  18. def getExecutionEnvironment: ExecutionEnvironment

    Permalink

    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.

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def setDefaultLocalParallelism(parallelism: Int): Unit

    Permalink

    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()
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped