@Experimental
public interface ExecutionEnvironment
The environment provides methods to create a DataStream and control the job execution.
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String jobName)
Execute and submit the job attached to this environment.
|
<OUT> NonKeyedPartitionStream<OUT> |
fromSource(org.apache.flink.api.connector.dsv2.Source<OUT> source,
String sourceName) |
org.apache.flink.api.common.RuntimeExecutionMode |
getExecutionMode()
Get the execution mode of this environment.
|
static ExecutionEnvironment |
getInstance()
Get the execution environment instance.
|
ExecutionEnvironment |
setExecutionMode(org.apache.flink.api.common.RuntimeExecutionMode runtimeMode)
Set the execution mode for this environment.
|
static ExecutionEnvironment getInstance() throws ReflectiveOperationException
ExecutionEnvironment instance.ReflectiveOperationExceptionvoid execute(String jobName) throws Exception
Exceptionorg.apache.flink.api.common.RuntimeExecutionMode getExecutionMode()
ExecutionEnvironment setExecutionMode(org.apache.flink.api.common.RuntimeExecutionMode runtimeMode)
<OUT> NonKeyedPartitionStream<OUT> fromSource(org.apache.flink.api.connector.dsv2.Source<OUT> source, String sourceName)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.