Constructor and Description |
---|
DefaultExecutor(StreamExecutionEnvironment executionEnvironment) |
Modifier and Type | Method and Description |
---|---|
Pipeline |
createPipeline(List<Transformation<?>> transformations,
ReadableConfig tableConfiguration,
String defaultJobName)
Translates the given transformations to a
Pipeline . |
JobExecutionResult |
execute(Pipeline pipeline)
Executes the given pipeline.
|
JobClient |
executeAsync(Pipeline pipeline)
Executes the given pipeline asynchronously.
|
ReadableConfig |
getConfiguration()
Gives read-only access to the configuration of the executor.
|
StreamExecutionEnvironment |
getExecutionEnvironment() |
boolean |
isCheckpointingEnabled()
Checks whether checkpointing is enabled.
|
public DefaultExecutor(StreamExecutionEnvironment executionEnvironment)
public StreamExecutionEnvironment getExecutionEnvironment()
public ReadableConfig getConfiguration()
Executor
getConfiguration
in interface Executor
public Pipeline createPipeline(List<Transformation<?>> transformations, ReadableConfig tableConfiguration, @Nullable String defaultJobName)
Executor
Pipeline
.createPipeline
in interface Executor
transformations
- list of transformationstableConfiguration
- table-specific configuration optionsdefaultJobName
- default job name if not specified via PipelineOptions.NAME
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.public boolean isCheckpointingEnabled()
Executor
isCheckpointingEnabled
in interface Executor
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.