| Package | Description |
|---|---|
| org.apache.flink.client | |
| org.apache.flink.client.program |
| Modifier and Type | Method and Description |
|---|---|
protected PackagedProgram |
CliFrontend.buildProgram(ProgramOptions options)
Creates a Packaged program from the given command line options.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PackagedProgram.getDescription()
Returns the description provided by the Program class.
|
JobGraph |
Client.getJobGraph(PackagedProgram prog,
FlinkPlan optPlan) |
static FlinkPlan |
Client.getOptimizedPlan(Optimizer compiler,
PackagedProgram prog,
int parallelism) |
FlinkPlan |
OptimizerPlanEnvironment.getOptimizedPlan(PackagedProgram prog) |
static String |
Client.getOptimizedPlanAsJson(Optimizer compiler,
PackagedProgram prog,
int parallelism) |
JobWithJars |
PackagedProgram.getPlanWithJars()
Returns the plan with all required jars.
|
String |
PackagedProgram.getPreviewPlan()
Returns the analyzed plan without any optimizations.
|
void |
PackagedProgram.invokeInteractiveModeForExecution()
This method assumes that the context environment is prepared, or the execution
will be a local execution by default.
|
JobExecutionResult |
Client.runBlocking(JobGraph jobGraph,
ClassLoader classLoader) |
JobExecutionResult |
Client.runBlocking(JobWithJars program,
int parallelism)
Runs a program on the Flink cluster to which this client is connected.
|
JobExecutionResult |
Client.runBlocking(OptimizedPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader) |
JobSubmissionResult |
Client.runBlocking(PackagedProgram prog,
int parallelism) |
JobSubmissionResult |
Client.runDetached(JobGraph jobGraph,
ClassLoader classLoader) |
JobSubmissionResult |
Client.runDetached(JobWithJars program,
int parallelism)
Submits a program to the Flink cluster to which this client is connected.
|
JobSubmissionResult |
Client.runDetached(OptimizedPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader) |
JobSubmissionResult |
Client.runDetached(PackagedProgram prog,
int parallelism) |
| Constructor and Description |
|---|
PackagedProgram(File jarFile,
List<URL> classpaths,
String... args)
Creates an instance that wraps the plan defined in the jar file using the given
argument.
|
PackagedProgram(File jarFile,
List<URL> classpaths,
String entryPointClassName,
String... args)
Creates an instance that wraps the plan defined in the jar file using the given
arguments.
|
PackagedProgram(File jarFile,
String... args)
Creates an instance that wraps the plan defined in the jar file using the given
argument.
|
PackagedProgram(File jarFile,
String entryPointClassName,
String... args)
Creates an instance that wraps the plan defined in the jar file using the given
arguments.
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.