Package org.apache.beam.runners.flink
Class FlinkExecutionEnvironments
java.lang.Object
org.apache.beam.runners.flink.FlinkExecutionEnvironments
Utilities for Flink execution environments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.flink.api.java.ExecutionEnvironment
If the submitted job is a batch processing job, this method creates the adequate FlinkExecutionEnvironment
depending on the user-specified options.static org.apache.flink.streaming.api.environment.StreamExecutionEnvironment
createStreamExecutionEnvironment
(FlinkPipelineOptions options, List<String> filesToStage, @Nullable String confDir) If the submitted job is a stream processing job, this method creates the adequate FlinkStreamExecutionEnvironment
depending on the user-specified options.
-
Constructor Details
-
FlinkExecutionEnvironments
public FlinkExecutionEnvironments()
-
-
Method Details
-
createBatchExecutionEnvironment
public static org.apache.flink.api.java.ExecutionEnvironment createBatchExecutionEnvironment(FlinkPipelineOptions options) If the submitted job is a batch processing job, this method creates the adequate FlinkExecutionEnvironment
depending on the user-specified options. -
createStreamExecutionEnvironment
public static org.apache.flink.streaming.api.environment.StreamExecutionEnvironment createStreamExecutionEnvironment(FlinkPipelineOptions options, List<String> filesToStage, @Nullable String confDir) If the submitted job is a stream processing job, this method creates the adequate FlinkStreamExecutionEnvironment
depending on the user-specified options.
-