Package org.apache.beam.runners.twister2
Class Twister2TestRunner
- java.lang.Object
-
- org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>
-
- org.apache.beam.runners.twister2.Twister2TestRunner
-
public class Twister2TestRunner extends org.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>APipelineRunnerthat 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 Summary
Constructors Constructor Description Twister2TestRunner(Twister2PipelineOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Twister2TestRunnerfromOptions(org.apache.beam.sdk.options.PipelineOptions options)org.apache.beam.sdk.PipelineResultrun(org.apache.beam.sdk.Pipeline pipeline)
-
-
-
Constructor Detail
-
Twister2TestRunner
public Twister2TestRunner(Twister2PipelineOptions options)
-
-
Method Detail
-
fromOptions
public static Twister2TestRunner fromOptions(org.apache.beam.sdk.options.PipelineOptions options)
-
run
public org.apache.beam.sdk.PipelineResult run(org.apache.beam.sdk.Pipeline pipeline)
- Specified by:
runin classorg.apache.beam.sdk.PipelineRunner<org.apache.beam.sdk.PipelineResult>
-
-