@Internal public class StreamExecutor extends Object implements org.apache.flink.table.delegation.Executor
Executor that is backed by a StreamExecutionEnvironment.
This is the only executor that StreamPlanner supports.| Constructor and Description |
|---|
StreamExecutor(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.dag.Pipeline |
createPipeline(List<org.apache.flink.api.dag.Transformation<?>> transformations,
org.apache.flink.table.api.TableConfig tableConfig,
String jobName) |
org.apache.flink.api.common.JobExecutionResult |
execute(org.apache.flink.api.dag.Pipeline pipeline) |
org.apache.flink.core.execution.JobClient |
executeAsync(org.apache.flink.api.dag.Pipeline pipeline) |
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment |
getExecutionEnvironment() |
@VisibleForTesting public StreamExecutor(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
public org.apache.flink.api.dag.Pipeline createPipeline(List<org.apache.flink.api.dag.Transformation<?>> transformations, org.apache.flink.table.api.TableConfig tableConfig, String jobName)
createPipeline in interface org.apache.flink.table.delegation.Executorpublic org.apache.flink.api.common.JobExecutionResult execute(org.apache.flink.api.dag.Pipeline pipeline)
throws Exception
execute in interface org.apache.flink.table.delegation.ExecutorExceptionpublic org.apache.flink.core.execution.JobClient executeAsync(org.apache.flink.api.dag.Pipeline pipeline)
throws Exception
executeAsync in interface org.apache.flink.table.delegation.ExecutorExceptionpublic org.apache.flink.streaming.api.environment.StreamExecutionEnvironment getExecutionEnvironment()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.