public class WebPageWritable extends Configured implements Writable
Constructor and Description |
---|
WebPageWritable() |
WebPageWritable(Configuration conf,
WebPage webPage) |
Modifier and Type | Method and Description |
---|---|
WebPage |
getWebPage() |
void |
readFields(DataInput in) |
void |
setWebPage(WebPage webPage) |
void |
write(DataOutput out) |
getConf, setConf
public WebPageWritable()
public WebPageWritable(Configuration conf, WebPage webPage)
public void readFields(DataInput in) throws IOException
readFields
in interface Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface Writable
IOException
public WebPage getWebPage()
public void setWebPage(WebPage webPage)
Copyright © 2015 The Apache Software Foundation