public class DetachedEnvironment extends ContextEnvironment
| Modifier and Type | Class and Description |
|---|---|
static class |
DetachedEnvironment.DetachedJobExecutionResult |
classpathsToAttach, client, jarFilesToAttach, savepointSettings, userCodeClassLoaderjobID, lastJobExecutionResult, sessionTimeout| Constructor and Description |
|---|
DetachedEnvironment(ClusterClient remoteConnection,
List<URL> jarFiles,
List<URL> classpaths,
ClassLoader userCodeClassLoader,
SavepointRestoreSettings savepointSettings) |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionResult |
execute(String jobName) |
void |
setDetachedPlan(FlinkPlan plan) |
getClasspaths, getClient, getExecutionPlan, getJars, getSavepointRestoreSettings, getUserCodeClassLoader, startNewSession, toStringaddDefaultKryoSerializer, addDefaultKryoSerializer, areExplicitEnvironmentsAllowed, createCollectionsEnvironment, createHadoopInput, createHadoopInput, createInput, createInput, createLocalEnvironment, createLocalEnvironment, createLocalEnvironment, createLocalEnvironmentWithWebUI, createProgramPlan, createProgramPlan, createProgramPlan, createRemoteEnvironment, createRemoteEnvironment, createRemoteEnvironment, execute, fromCollection, fromCollection, fromCollection, fromCollection, fromElements, fromElements, fromParallelCollection, fromParallelCollection, generateSequence, getConfig, getDefaultLocalParallelism, getExecutionEnvironment, getId, getIdString, getLastJobExecutionResult, getNumberOfExecutionRetries, getParallelism, getRestartStrategy, 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, setRestartStrategy, setSessionTimeoutpublic DetachedEnvironment(ClusterClient remoteConnection, List<URL> jarFiles, List<URL> classpaths, ClassLoader userCodeClassLoader, SavepointRestoreSettings savepointSettings)
public JobExecutionResult execute(String jobName) throws Exception
execute in class ContextEnvironmentExceptionpublic void setDetachedPlan(FlinkPlan plan)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.