Package org.apache.nutch.util
Class GenericWritableConfigurable
- java.lang.Object
-
- org.apache.hadoop.io.GenericWritable
-
- org.apache.nutch.util.GenericWritableConfigurable
-
- All Implemented Interfaces:
Configurable
,Writable
- Direct Known Subclasses:
NutchWritable
public abstract class GenericWritableConfigurable extends GenericWritable implements Configurable
A generic Writable wrapper that can inject Configuration toConfigurable
s
-
-
Constructor Summary
Constructors Constructor Description GenericWritableConfigurable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConf()
void
readFields(DataInput in)
void
setConf(Configuration conf)
-
-
-
Method Detail
-
getConf
public Configuration getConf()
- Specified by:
getConf
in interfaceConfigurable
- Overrides:
getConf
in classGenericWritable
-
setConf
public void setConf(Configuration conf)
- Specified by:
setConf
in interfaceConfigurable
- Overrides:
setConf
in classGenericWritable
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFields
in interfaceWritable
- Overrides:
readFields
in classGenericWritable
- Throws:
IOException
-
-