@Internal public class BatchExecutor extends ExecutorBase
Executor
that is backed by a StreamExecutionEnvironment
.
This is the only executor that BatchPlanner
supports.tableConfig
Constructor and Description |
---|
BatchExecutor(StreamExecutionEnvironment executionEnvironment) |
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
execute(String jobName)
Executes all the previously applied transformations via
Executor.apply(List) . |
StreamGraph |
getStreamGraph(String jobName)
Translates the transformations applied into this executor to a stream graph.
|
apply, getExecutionEnvironment, getNonEmptyJobName, setTableConfig
@VisibleForTesting public BatchExecutor(StreamExecutionEnvironment executionEnvironment)
public JobExecutionResult execute(String jobName) throws Exception
Executor
Executor.apply(List)
.jobName
- what should be the name of the jobException
- which occurs during job execution.public StreamGraph getStreamGraph(String jobName)
ExecutorBase
getStreamGraph
in class ExecutorBase
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.