public class CliExecutor extends Object
CliFrontend
.Constructor and Description |
---|
CliExecutor(org.apache.commons.cli.CommandLine commandLine,
Path pipelineDefPath,
Configuration flinkConfig,
Configuration globalPipelineConfig,
boolean useMiniCluster,
List<Path> additionalJars,
org.apache.flink.runtime.jobgraph.SavepointRestoreSettings savepointSettings) |
Modifier and Type | Method and Description |
---|---|
List<Path> |
getAdditionalJars() |
String |
getDeploymentTarget() |
Configuration |
getFlinkConfig() |
Configuration |
getGlobalPipelineConfig() |
org.apache.flink.runtime.jobgraph.SavepointRestoreSettings |
getSavepointSettings() |
PipelineExecution.ExecutionInfo |
run() |
public CliExecutor(org.apache.commons.cli.CommandLine commandLine, Path pipelineDefPath, Configuration flinkConfig, Configuration globalPipelineConfig, boolean useMiniCluster, List<Path> additionalJars, org.apache.flink.runtime.jobgraph.SavepointRestoreSettings savepointSettings)
public PipelineExecution.ExecutionInfo run() throws Exception
Exception
@VisibleForTesting public Configuration getFlinkConfig()
@VisibleForTesting public Configuration getGlobalPipelineConfig()
@VisibleForTesting public List<Path> getAdditionalJars()
@VisibleForTesting public String getDeploymentTarget()
public org.apache.flink.runtime.jobgraph.SavepointRestoreSettings getSavepointSettings()
Copyright © 2024 The Apache Software Foundation. All rights reserved.