Class PipelineOptions.DirectRunner

  • All Implemented Interfaces:
    DefaultValueFactory<java.lang.Class<? extends PipelineRunner<?>>>
    Enclosing interface:
    PipelineOptions

    public static class PipelineOptions.DirectRunner
    extends java.lang.Object
    implements DefaultValueFactory<java.lang.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.