public class FlinkExecutionEnvironments
extends java.lang.Object
Constructor and Description |
---|
FlinkExecutionEnvironments() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.api.java.ExecutionEnvironment |
createBatchExecutionEnvironment(FlinkPipelineOptions options)
If the submitted job is a batch processing job, this method creates the adequate Flink
ExecutionEnvironment depending on the user-specified options. |
static org.apache.flink.streaming.api.environment.StreamExecutionEnvironment |
createStreamExecutionEnvironment(FlinkPipelineOptions options,
java.util.List<java.lang.String> filesToStage,
@Nullable java.lang.String confDir)
If the submitted job is a stream processing job, this method creates the adequate Flink
StreamExecutionEnvironment depending on the
user-specified options. |
public static org.apache.flink.api.java.ExecutionEnvironment createBatchExecutionEnvironment(FlinkPipelineOptions options)
ExecutionEnvironment
depending on the user-specified options.public static org.apache.flink.streaming.api.environment.StreamExecutionEnvironment createStreamExecutionEnvironment(FlinkPipelineOptions options, java.util.List<java.lang.String> filesToStage, @Nullable java.lang.String confDir)
StreamExecutionEnvironment
depending on the
user-specified options.