Package org.apache.beam.sdk.io.hdfs
Class HadoopFileSystemOptions.ConfigurationLocator
java.lang.Object
org.apache.beam.sdk.io.hdfs.HadoopFileSystemOptions.ConfigurationLocator
- All Implemented Interfaces:
DefaultValueFactory<List<org.apache.hadoop.conf.Configuration>>
- Enclosing interface:
HadoopFileSystemOptions
public static class HadoopFileSystemOptions.ConfigurationLocator
extends Object
implements DefaultValueFactory<List<org.apache.hadoop.conf.Configuration>>
A
DefaultValueFactory which locates a Hadoop Configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.hadoop.conf.Configuration> create(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory.
-
Constructor Details
-
ConfigurationLocator
public ConfigurationLocator()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
createin interfaceDefaultValueFactory<List<org.apache.hadoop.conf.Configuration>>- Parameters:
options- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-