Package org.apache.beam.sdk.testing
Class CrashingRunner
A
PipelineRunner that applies no overrides and throws an exception on calls to Pipeline.run(). For use in TestPipeline to construct but not execute pipelines.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CrashingRunnerfromOptions(PipelineOptions opts) Processes the givenPipeline, potentially asynchronously, returning a runner-specific type of result.Methods inherited from class org.apache.beam.sdk.PipelineRunner
create, run, run
-
Constructor Details
-
CrashingRunner
public CrashingRunner()
-
-
Method Details
-
fromOptions
-
run
Description copied from class:PipelineRunnerProcesses the givenPipeline, potentially asynchronously, returning a runner-specific type of result.- Specified by:
runin classPipelineRunner<PipelineResult>
-