org.apache.nutch.fetcher
Class FetchEntry

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by 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


Constructor Summary
FetchEntry()
           
FetchEntry(org.apache.hadoop.conf.Configuration conf, String key, WebPage page)
           
 
Method Summary
 String getKey()
           
 WebPage getWebPage()
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FetchEntry

public FetchEntry()

FetchEntry

public FetchEntry(org.apache.hadoop.conf.Configuration conf,
                  String key,
                  WebPage page)
Method Detail

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