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