public class Twister2TestRunner
extends org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.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 runner| Constructor and Description |
|---|
Twister2TestRunner(Twister2PipelineOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static Twister2TestRunner |
fromOptions(org.apache.beam.sdk.options.PipelineOptions options) |
org.apache.beam.sdk.PipelineResult |
run(org.apache.beam.sdk.Pipeline pipeline) |
public Twister2TestRunner(Twister2PipelineOptions options)
public static Twister2TestRunner fromOptions(org.apache.beam.sdk.options.PipelineOptions options)
public org.apache.beam.sdk.PipelineResult run(org.apache.beam.sdk.Pipeline pipeline)
run in class org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>