public class ContextEnvironment
extends org.apache.flink.api.java.ExecutionEnvironment
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.common.JobExecutionResult |
execute(String jobName) |
org.apache.flink.core.execution.JobClient |
executeAsync(String jobName) |
static void |
setAsContext(ContextEnvironmentFactory factory) |
String |
toString() |
static void |
unsetContext() |
addDefaultKryoSerializer, addDefaultKryoSerializer, areExplicitEnvironmentsAllowed, clearJobListeners, configure, createCollectionsEnvironment, createInput, createInput, createLocalEnvironment, createLocalEnvironment, createLocalEnvironment, createLocalEnvironmentWithWebUI, createProgramPlan, createProgramPlan, createProgramPlan, createRemoteEnvironment, createRemoteEnvironment, createRemoteEnvironment, execute, executeAsync, fromCollection, fromCollection, fromCollection, fromCollection, fromElements, fromElements, fromParallelCollection, fromParallelCollection, generateSequence, getConfig, getConfiguration, getDefaultLocalParallelism, getExecutionEnvironment, getExecutionPlan, getExecutorServiceLoader, getLastJobExecutionResult, getNumberOfExecutionRetries, getParallelism, getRestartStrategy, getUserCodeClassLoader, initializeContextEnvironment, readCsvFile, readFile, readFileOfPrimitives, readFileOfPrimitives, readTextFile, readTextFile, readTextFileWithValue, readTextFileWithValue, registerCachedFile, registerCachedFile, registerCachedFilesWithPlan, registerJobListener, registerType, registerTypeWithKryoSerializer, registerTypeWithKryoSerializer, resetContextEnvironment, setDefaultLocalParallelism, setNumberOfExecutionRetries, setParallelism, setRestartStrategypublic org.apache.flink.api.common.JobExecutionResult execute(String jobName) throws Exception
execute 在类中 org.apache.flink.api.java.ExecutionEnvironmentExceptionpublic org.apache.flink.core.execution.JobClient executeAsync(String jobName) throws Exception
executeAsync 在类中 org.apache.flink.api.java.ExecutionEnvironmentExceptionpublic static void setAsContext(ContextEnvironmentFactory factory)
public static void unsetContext()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.