public class OptimizerPlanEnvironment extends ExecutionEnvironment
| Modifier and Type | Class and Description |
|---|---|
static class |
OptimizerPlanEnvironment.ProgramAbortException
A special exception used to abort programs when the caller is only interested in the
program plan, rather than in the full execution.
|
jobID, lastJobExecutionResult, LOG, sessionTimeout| Constructor and Description |
|---|
OptimizerPlanEnvironment(Optimizer compiler) |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionResult |
execute(String jobName) |
String |
getExecutionPlan() |
FlinkPlan |
getOptimizedPlan(PackagedProgram prog) |
void |
setPlan(FlinkPlan plan) |
void |
startNewSession() |
addDefaultKryoSerializer, addDefaultKryoSerializer, areExplicitEnvironmentsAllowed, createCollectionsEnvironment, createHadoopInput, createHadoopInput, createInput, createInput, createLocalEnvironment, createLocalEnvironment, createLocalEnvironment, createProgramPlan, createProgramPlan, createProgramPlan, createRemoteEnvironment, createRemoteEnvironment, createRemoteEnvironment, execute, fromCollection, fromCollection, fromCollection, fromCollection, fromElements, fromParallelCollection, fromParallelCollection, generateSequence, getConfig, getExecutionEnvironment, getId, getIdString, getLastJobExecutionResult, getNumberOfExecutionRetries, getParallelism, getSessionTimeout, initializeContextEnvironment, readCsvFile, readFile, readFileOfPrimitives, readFileOfPrimitives, readHadoopFile, readHadoopFile, readHadoopFile, readHadoopFile, readSequenceFile, readTextFile, readTextFile, readTextFileWithValue, readTextFileWithValue, registerCachedFile, registerCachedFile, registerCachedFilesWithPlan, registerType, registerTypeWithKryoSerializer, registerTypeWithKryoSerializer, resetContextEnvironment, setDefaultLocalParallelism, setNumberOfExecutionRetries, setParallelism, setSessionTimeoutpublic OptimizerPlanEnvironment(Optimizer compiler)
public JobExecutionResult execute(String jobName) throws Exception
execute in class ExecutionEnvironmentExceptionpublic String getExecutionPlan() throws Exception
getExecutionPlan in class ExecutionEnvironmentExceptionpublic void startNewSession()
startNewSession in class ExecutionEnvironmentpublic FlinkPlan getOptimizedPlan(PackagedProgram prog) throws ProgramInvocationException
ProgramInvocationExceptionpublic void setPlan(FlinkPlan plan)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.