ClusterID - the type of the id of the cluster.ClientFactory - the type of the ClusterClientFactory used to create/retrieve a client to the target cluster.@Internal public class AbstractJobClusterExecutor<ClusterID,ClientFactory extends ClusterClientFactory<ClusterID>> extends Object implements org.apache.flink.core.execution.PipelineExecutor
PipelineExecutor used to execute pipelines on dedicated (per-job) clusters.| 构造器和说明 |
|---|
AbstractJobClusterExecutor(ClientFactory clusterClientFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<org.apache.flink.core.execution.JobClient> |
execute(org.apache.flink.api.dag.Pipeline pipeline,
org.apache.flink.configuration.Configuration configuration) |
public AbstractJobClusterExecutor(@Nonnull ClientFactory clusterClientFactory)
public CompletableFuture<org.apache.flink.core.execution.JobClient> execute(@Nonnull org.apache.flink.api.dag.Pipeline pipeline, @Nonnull org.apache.flink.configuration.Configuration configuration) throws Exception
execute 在接口中 org.apache.flink.core.execution.PipelineExecutorExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.