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.CacheSupportedPipelineExecutor
PipelineExecutor used to execute pipelines on an existing
(session) cluster.| Constructor and Description |
|---|
AbstractSessionClusterExecutor(ClientFactory clusterClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.apache.flink.core.execution.JobClient> |
execute(org.apache.flink.api.dag.Pipeline pipeline,
org.apache.flink.configuration.Configuration configuration,
ClassLoader userCodeClassloader) |
CompletableFuture<Void> |
invalidateClusterDataset(org.apache.flink.util.AbstractID clusterDatasetId,
org.apache.flink.configuration.Configuration configuration,
ClassLoader userCodeClassloader) |
CompletableFuture<Set<org.apache.flink.util.AbstractID>> |
listCompletedClusterDatasetIds(org.apache.flink.configuration.Configuration configuration,
ClassLoader userCodeClassloader) |
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, @Nonnull ClassLoader userCodeClassloader) throws Exception
execute in interface org.apache.flink.core.execution.PipelineExecutorExceptionpublic CompletableFuture<Set<org.apache.flink.util.AbstractID>> listCompletedClusterDatasetIds(org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader) throws Exception
listCompletedClusterDatasetIds in interface org.apache.flink.core.execution.CacheSupportedPipelineExecutorExceptionpublic CompletableFuture<Void> invalidateClusterDataset(org.apache.flink.util.AbstractID clusterDatasetId, org.apache.flink.configuration.Configuration configuration, ClassLoader userCodeClassloader) throws Exception
invalidateClusterDataset in interface org.apache.flink.core.execution.CacheSupportedPipelineExecutorExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.