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 AbstractSessionClusterExecutor<ClusterID,ClientFactory extends ClusterClientFactory<ClusterID>> extends Object implements org.apache.flink.core.execution.PipelineExecutor
PipelineExecutor used to execute pipelines on an existing (session) cluster.| 构造器和说明 |
|---|
AbstractSessionClusterExecutor(ClientFactory clusterClientFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<org.apache.flink.core.execution.JobClient> |
execute(org.apache.flink.api.dag.Pipeline pipeline,
org.apache.flink.configuration.Configuration configuration) |
public AbstractSessionClusterExecutor(@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.