Uses of Class
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment
Packages that use StreamExecutionEnvironment
Package
Description
-
Uses of StreamExecutionEnvironment in org.apache.flink.streaming.api.datastream
Fields in org.apache.flink.streaming.api.datastream declared as StreamExecutionEnvironmentModifier and TypeFieldDescriptionprotected final StreamExecutionEnvironmentConnectedStreams.environmentprotected final StreamExecutionEnvironmentDataStream.environmentMethods in org.apache.flink.streaming.api.datastream that return StreamExecutionEnvironmentModifier and TypeMethodDescriptionBroadcastStream.getEnvironment()AllWindowedStream.getExecutionEnvironment()BroadcastConnectedStream.getExecutionEnvironment()ConnectedStreams.getExecutionEnvironment()DataStream.getExecutionEnvironment()Returns theStreamExecutionEnvironmentthat was used to create thisDataStream.WindowedStream.getExecutionEnvironment()Constructors in org.apache.flink.streaming.api.datastream with parameters of type StreamExecutionEnvironmentModifierConstructorDescriptionprotectedBroadcastConnectedStream(StreamExecutionEnvironment env, DataStream<IN1> input1, BroadcastStream<IN2> input2, List<org.apache.flink.api.common.state.MapStateDescriptor<?, ?>> broadcastStateDescriptors) protectedBroadcastStream(StreamExecutionEnvironment env, DataStream<T> input, org.apache.flink.api.common.state.MapStateDescriptor<?, ?>... broadcastStateDescriptors) CachedDataStream(StreamExecutionEnvironment environment, org.apache.flink.api.dag.Transformation<T> transformation) Create a newCachedDataStreamin the given execution environment that wrap the given physical transformation to indicates that the transformation should be cached.protectedConnectedStreams(StreamExecutionEnvironment env, DataStream<IN1> input1, DataStream<IN2> input2) DataStream(StreamExecutionEnvironment environment, org.apache.flink.api.dag.Transformation<T> transformation) Create a newDataStreamin the given execution environment with partitioning set to forward by default.DataStreamSource(StreamExecutionEnvironment environment, org.apache.flink.api.common.typeinfo.TypeInformation<T> outTypeInfo, StreamSource<T, ?> operator, boolean isParallel, String sourceName) DataStreamSource(StreamExecutionEnvironment environment, org.apache.flink.api.common.typeinfo.TypeInformation<T> outTypeInfo, StreamSource<T, ?> operator, boolean isParallel, String sourceName, org.apache.flink.api.connector.source.Boundedness boundedness) The constructor used to create legacy sources.DataStreamSource(StreamExecutionEnvironment environment, org.apache.flink.api.connector.source.Source<T, ?, ?> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<T> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<T> outTypeInfo, String sourceName) Constructor for new Sources (FLIP-27).KeyedPartitionWindowedStream(StreamExecutionEnvironment environment, KeyedStream<T, KEY> input) NonKeyedPartitionWindowedStream(StreamExecutionEnvironment environment, DataStream<T> input) SideOutputDataStream(StreamExecutionEnvironment environment, SideOutputTransformation<T> transformation) Creates a newSideOutputDataStreamin the given execution environment.protectedSingleOutputStreamOperator(StreamExecutionEnvironment environment, org.apache.flink.api.dag.Transformation<T> transformation) -
Uses of StreamExecutionEnvironment in org.apache.flink.streaming.api.environment
Subclasses of StreamExecutionEnvironment in org.apache.flink.streaming.api.environmentModifier and TypeClassDescriptionclassThe LocalStreamEnvironment is a StreamExecutionEnvironment that runs the program locally, multi-threaded, in the JVM where the environment is instantiated.classAStreamExecutionEnvironmentfor executing on a cluster.Methods in org.apache.flink.streaming.api.environment that return StreamExecutionEnvironmentModifier and TypeMethodDescriptionStreamExecutionEnvironmentFactory.createExecutionEnvironment(org.apache.flink.configuration.Configuration configuration) Creates a StreamExecutionEnvironment from this factory.static StreamExecutionEnvironmentStreamExecutionEnvironment.createLocalEnvironmentWithWebUI(org.apache.flink.configuration.Configuration conf) Creates aLocalStreamEnvironmentfor local program execution that also starts the web monitoring UI.static StreamExecutionEnvironmentStreamExecutionEnvironment.createRemoteEnvironment(String host, int port, int parallelism, String... jarFiles) Creates aRemoteStreamEnvironment.static StreamExecutionEnvironmentStreamExecutionEnvironment.createRemoteEnvironment(String host, int port, String... jarFiles) Creates aRemoteStreamEnvironment.static StreamExecutionEnvironmentStreamExecutionEnvironment.createRemoteEnvironment(String host, int port, org.apache.flink.configuration.Configuration clientConfig, String... jarFiles) Creates aRemoteStreamEnvironment.StreamExecutionEnvironment.disableOperatorChaining()Disables operator chaining for streaming operators.StreamExecutionEnvironment.enableChangelogStateBackend(boolean enabled) Enable the change log for current state backend.StreamExecutionEnvironment.enableCheckpointing(long interval) Enables checkpointing for the streaming job.StreamExecutionEnvironment.enableCheckpointing(long interval, org.apache.flink.core.execution.CheckpointingMode mode) Enables checkpointing for the streaming job.StreamExecutionEnvironment.enableCheckpointing(long interval, CheckpointingMode mode) Deprecated.static StreamExecutionEnvironmentStreamExecutionEnvironment.getExecutionEnvironment()Creates an execution environment that represents the context in which the program is currently executed.static StreamExecutionEnvironmentStreamExecutionEnvironment.getExecutionEnvironment(org.apache.flink.configuration.Configuration configuration) Creates an execution environment that represents the context in which the program is currently executed.StreamExecutionEnvironment.registerSlotSharingGroup(org.apache.flink.api.common.operators.SlotSharingGroup slotSharingGroup) Register a slot sharing group with its resource spec.StreamExecutionEnvironment.setBufferTimeout(long timeoutMillis) Sets the maximum time frequency (milliseconds) for the flushing of the output buffers.StreamExecutionEnvironment.setDefaultSavepointDirectory(String savepointDirectory) Sets the default savepoint directory, where savepoints will be written to if no is explicitly provided when triggered.StreamExecutionEnvironment.setDefaultSavepointDirectory(URI savepointDirectory) Sets the default savepoint directory, where savepoints will be written to if no is explicitly provided when triggered.StreamExecutionEnvironment.setDefaultSavepointDirectory(org.apache.flink.core.fs.Path savepointDirectory) Sets the default savepoint directory, where savepoints will be written to if no is explicitly provided when triggered.StreamExecutionEnvironment.setMaxParallelism(int maxParallelism) Sets the maximum degree of parallelism defined for the program.StreamExecutionEnvironment.setParallelism(int parallelism) Sets the parallelism for operations executed through this environment.StreamExecutionEnvironment.setRuntimeMode(org.apache.flink.api.common.RuntimeExecutionMode executionMode) Sets the runtime execution mode for the application (seeRuntimeExecutionMode).
enableCheckpointing(long, CheckpointingMode)instead.