Package org.apache.hadoop.conf
Class Configured
java.lang.Object
org.apache.hadoop.conf.Configured
- All Implemented Interfaces:
Configurable
- Direct Known Subclasses:
AvroSerialization,CLI,Client,DistCp,FileSystem,InputSampler,LogsCLI,PathOutputCommitterFactory,ResourceCalculatorProcessTree,SchedConfCLI,Submitter,Trash,TrashPolicy,WasbFsck,WritableSerialization
Base class for things that may be configured with a
Configuration.-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a Configured.Configured(Configuration conf) Construct a Configured. -
Method Summary
Modifier and TypeMethodDescriptiongetConf()Return the configuration used by this object.voidsetConf(Configuration conf) Set the configuration to be used by this object.
-
Constructor Details
-
Configured
public Configured()Construct a Configured. -
Configured
Construct a Configured.- Parameters:
conf- the Configuration object.
-
-
Method Details
-
setConf
Description copied from interface:ConfigurableSet the configuration to be used by this object.- Specified by:
setConfin interfaceConfigurable- Parameters:
conf- configuration to be used
-
getConf
Description copied from interface:ConfigurableReturn the configuration used by this object.- Specified by:
getConfin interfaceConfigurable- Returns:
- Configuration
-