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