Class PipelineOptions.DirectRunner

java.lang.Object
org.apache.beam.sdk.options.PipelineOptions.DirectRunner
All Implemented Interfaces:
DefaultValueFactory<Class<? extends PipelineRunner<?>>>
Enclosing interface:
PipelineOptions

public static class PipelineOptions.DirectRunner extends Object implements DefaultValueFactory<Class<? extends PipelineRunner<?>>>
A DefaultValueFactory that obtains the class of the DirectRunner if it exists on the classpath, and throws an exception otherwise.

As the DirectRunner is in an independent module, it cannot be directly referenced as the Default. However, it should still be used if available, and a user is required to explicitly set the --runner property if they wish to use an alternative runner.