|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.io.VersionedWritable
org.apache.nutch.linkdb.LinkAnalysisEntry
An entry in the LinkAnalysisTool's output. Consists of a single float for every entry in a table administered by LinkAnalysisTool.
Constructor Summary | |
LinkAnalysisEntry()
|
Method Summary | |
boolean |
equals(Object o)
|
float |
getScore()
|
byte |
getVersion()
Return the version number of the current implementation. |
static LinkAnalysisEntry |
read(DataInput in)
|
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
setScore(float score)
|
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkAnalysisEntry()
Method Detail |
public byte getVersion()
VersionedWritable
getVersion
in class VersionedWritable
public void setScore(float score)
public 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
readFields
in class VersionedWritable
IOException
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
write
in class VersionedWritable
IOException
public static LinkAnalysisEntry read(DataInput in) throws IOException
IOException
public float getScore()
public boolean equals(Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |