Class LocalExecutor

  • All Implemented Interfaces:
    org.apache.flink.core.execution.PipelineExecutor

    @Internal
    public class LocalExecutor
    extends Object
    implements org.apache.flink.core.execution.PipelineExecutor
    An PipelineExecutor for executing a Pipeline locally.
    • Method Detail

      • create

        public static LocalExecutor create​(org.apache.flink.configuration.Configuration configuration)
      • createWithFactory

        public static LocalExecutor createWithFactory​(org.apache.flink.configuration.Configuration configuration,
                                                      java.util.function.Function<org.apache.flink.runtime.minicluster.MiniClusterConfiguration,​org.apache.flink.runtime.minicluster.MiniCluster> miniClusterFactory)
      • execute

        public CompletableFuture<org.apache.flink.core.execution.JobClient> execute​(org.apache.flink.api.dag.Pipeline pipeline,
                                                                                    org.apache.flink.configuration.Configuration configuration,
                                                                                    ClassLoader userCodeClassloader)
                                                                             throws Exception
        Specified by:
        execute in interface org.apache.flink.core.execution.PipelineExecutor
        Throws:
        Exception