public class Twister2TestRunner 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. This is used for testing the Twister2 runnerConstructor and Description |
---|
Twister2TestRunner(Twister2PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
static Twister2TestRunner |
fromOptions(PipelineOptions options) |
PipelineResult |
run(Pipeline pipeline)
Processes the given
Pipeline , potentially asynchronously, returning a runner-specific
type of result. |
create, run, run
public Twister2TestRunner(Twister2PipelineOptions options)
public static Twister2TestRunner fromOptions(PipelineOptions options)
public PipelineResult run(Pipeline pipeline)
PipelineRunner
Pipeline
, potentially asynchronously, returning a runner-specific
type of result.run
in class PipelineRunner<PipelineResult>