org.apache.nutch.fetcher
Class FetchEntry
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.fetcher.FetchEntry
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable
public class FetchEntry
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.io.Writable
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
FetchEntry
public FetchEntry()
FetchEntry
public FetchEntry(org.apache.hadoop.conf.Configuration conf,
String key,
WebPage page)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
getKey
public String getKey()
getWebPage
public WebPage getWebPage()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 The Apache Software Foundation