@Internal
public class ScalaShellEnvironment
extends org.apache.flink.api.java.ExecutionEnvironment
ExecutionEnvironment that has a reference
to a FlinkILoop. When execute is called this will
use the reference of the ILoop to write the compiled classes of the current session to
a Jar file and submit these with the program.| 构造器和说明 |
|---|
ScalaShellEnvironment(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.api.scala.FlinkILoop flinkILoop,
String... jarFiles) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
disableAllContextAndOtherEnvironments() |
org.apache.flink.api.common.JobExecutionResult |
execute(String jobName) |
static void |
resetContextEnvironments() |
addDefaultKryoSerializer, addDefaultKryoSerializer, areExplicitEnvironmentsAllowed, clearJobListeners, configure, createCollectionsEnvironment, createInput, createInput, createLocalEnvironment, createLocalEnvironment, createLocalEnvironment, createLocalEnvironmentWithWebUI, createProgramPlan, createProgramPlan, createProgramPlan, createRemoteEnvironment, createRemoteEnvironment, createRemoteEnvironment, execute, executeAsync, 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 ScalaShellEnvironment(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.api.scala.FlinkILoop flinkILoop,
String... jarFiles)
public org.apache.flink.api.common.JobExecutionResult execute(String jobName) throws Exception
execute 在类中 org.apache.flink.api.java.ExecutionEnvironmentExceptionpublic static void disableAllContextAndOtherEnvironments()
public static void resetContextEnvironments()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.