|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.nutch.io.VersionedWritable
net.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 VersionedWritablepublic void setScore(float score)
public void readFields(DataInput in)
throws IOException
Writablein. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields in interface WritablereadFields in class VersionedWritableIOException
public void write(DataOutput out)
throws IOException
Writableout.
write in interface Writablewrite in class VersionedWritableIOException
public static LinkAnalysisEntry read(DataInput in)
throws IOException
IOExceptionpublic float getScore()
public boolean equals(Object o)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||