public class Twister2Runner extends PipelineRunner<PipelineResult>
PipelineRunner that executes the operations in the pipeline by first translating them
to a Twister2 Plan and then executing them either locally or on a Twister2 cluster, depending on
the configuration.| Modifier | Constructor and Description |
|---|---|
protected |
Twister2Runner(Twister2PipelineOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static Twister2Runner |
fromOptions(PipelineOptions options) |
PipelineResult |
run(Pipeline pipeline)
Processes the given
Pipeline, potentially asynchronously, returning a runner-specific
type of result. |
PipelineResult |
runTest(Pipeline pipeline) |
create, run, runprotected Twister2Runner(Twister2PipelineOptions options)
public static Twister2Runner fromOptions(PipelineOptions options)
public PipelineResult run(Pipeline pipeline)
PipelineRunnerPipeline, potentially asynchronously, returning a runner-specific
type of result.run in class PipelineRunner<PipelineResult>public PipelineResult runTest(Pipeline pipeline)