Package | Description |
---|---|
org.apache.flink.client | |
org.apache.flink.client.program | |
org.apache.flink.streaming.api.environment |
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) |
JobGraph |
Client.getJobGraph(PackagedProgram prog,
FlinkPlan optPlan,
String savepointPath) |
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(FlinkPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader) |
JobExecutionResult |
Client.runBlocking(FlinkPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader,
String savepointPath) |
JobExecutionResult |
Client.runBlocking(JobGraph jobGraph,
ClassLoader classLoader) |
JobExecutionResult |
Client.runBlocking(JobWithJars program,
int parallelism) |
JobExecutionResult |
Client.runBlocking(JobWithJars program,
int parallelism,
String savepointPath)
Runs a program on the Flink cluster to which this client is connected.
|
JobSubmissionResult |
Client.runBlocking(PackagedProgram prog,
int parallelism) |
JobSubmissionResult |
Client.runDetached(FlinkPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader) |
JobSubmissionResult |
Client.runDetached(FlinkPlan compiledPlan,
List<URL> libraries,
List<URL> classpaths,
ClassLoader classLoader,
String savepointPath) |
JobSubmissionResult |
Client.runDetached(JobGraph jobGraph,
ClassLoader classLoader) |
JobSubmissionResult |
Client.runDetached(JobWithJars program,
int parallelism) |
JobSubmissionResult |
Client.runDetached(JobWithJars program,
int parallelism,
String savepointPath)
Submits a program to the Flink cluster to which this client is connected.
|
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.
|
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
RemoteStreamEnvironment.execute(String jobName) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.