org.apache.nutch.util
Class WebPageWritable
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.util.WebPageWritable
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable
public class WebPageWritable
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.io.Writable
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, toString, wait, wait, wait |
WebPageWritable
public WebPageWritable()
WebPageWritable
public WebPageWritable(org.apache.hadoop.conf.Configuration conf,
WebPage webPage)
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
getWebPage
public WebPage getWebPage()
setWebPage
public void setWebPage(WebPage webPage)
Copyright © 2013 The Apache Software Foundation