@Internal public abstract class ExecutorBase extends Object implements Executor
Executor
that is backed by a StreamExecutionEnvironment
.Modifier and Type | Field and Description |
---|---|
protected TableConfig |
tableConfig |
Constructor and Description |
---|
ExecutorBase(StreamExecutionEnvironment executionEnvironment) |
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
execute(Pipeline pipeline)
Executes the given pipeline.
|
JobClient |
executeAsync(Pipeline pipeline)
Executes the given pipeline asynchronously.
|
StreamExecutionEnvironment |
getExecutionEnvironment() |
protected String |
getNonEmptyJobName(String jobName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPipeline
protected TableConfig tableConfig
public ExecutorBase(StreamExecutionEnvironment executionEnvironment)
public StreamExecutionEnvironment getExecutionEnvironment()
public JobExecutionResult execute(Pipeline pipeline) throws Exception
Executor
public JobClient executeAsync(Pipeline pipeline) throws Exception
Executor
executeAsync
in interface Executor
pipeline
- the pipeline to executeJobClient
that can be used to communicate with the submitted job, completed
on submission succeeded.Exception
- which occurs during job execution.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.