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