Constructor and Description |
---|
ChainingOptimizingExecutor(Executor executor) |
Modifier and Type | Method and Description |
---|---|
Pipeline |
createPipeline(List<Transformation<?>> transformations,
ReadableConfig configuration,
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.
|
boolean |
isCheckpointingEnabled()
Checks whether checkpointing is enabled.
|
public ChainingOptimizingExecutor(Executor executor)
public ReadableConfig getConfiguration()
Executor
getConfiguration
in interface Executor
public Pipeline createPipeline(List<Transformation<?>> transformations, ReadableConfig configuration, String defaultJobName)
Executor
Pipeline
.createPipeline
in interface Executor
transformations
- list of transformationsconfiguration
- 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–2023 The Apache Software Foundation. All rights reserved.