Class GcpOptions.GcpTempLocationFactory
java.lang.Object
org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpTempLocationFactory
- All Implemented Interfaces:
DefaultValueFactory<String>
- Enclosing interface:
GcpOptions
public static class GcpOptions.GcpTempLocationFactory
extends Object
implements DefaultValueFactory<String>
Returns
PipelineOptions.getTempLocation()
as the default GCP temp location.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
GcpTempLocationFactory
public GcpTempLocationFactory()
-
-
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.
-