Class DataflowPipelineDebugOptions.DataflowClientFactory
java.lang.Object
org.apache.beam.runners.dataflow.options.DataflowPipelineDebugOptions.DataflowClientFactory
- All Implemented Interfaces:
DefaultValueFactory<Dataflow>
- Enclosing interface:
DataflowPipelineDebugOptions
public static class DataflowPipelineDebugOptions.DataflowClientFactory
extends Object
implements DefaultValueFactory<Dataflow>
Returns the default Dataflow client built from the passed in PipelineOptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
DataflowClientFactory
public DataflowClientFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<Dataflow>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-