public final class FetcherOutput extends Object implements Writable, Configurable
Constructor and Description |
---|
FetcherOutput() |
FetcherOutput(CrawlDatum crawlDatum,
Content content,
ParseImpl parse) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Configuration |
getConf()
Return the configuration used by this object.
|
Content |
getContent() |
CrawlDatum |
getCrawlDatum() |
ParseImpl |
getParse() |
int |
hashCode() |
void |
readFields(DataInput in)
Reads the fields of this object from
in . |
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
String |
toString() |
void |
write(DataOutput out)
Writes the fields of this object to
out . |
public FetcherOutput()
public FetcherOutput(CrawlDatum crawlDatum, Content content, ParseImpl parse)
public final void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.readFields
in interface Writable
IOException
public final void write(DataOutput out) throws IOException
Writable
out
.write
in interface Writable
IOException
public CrawlDatum getCrawlDatum()
public Content getContent()
public ParseImpl getParse()
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
public Configuration getConf()
Configurable
getConf
in interface Configurable
Copyright © 2007, 2014, Oracle and/or its affiliates. All rights reserved.