org.apache.nutch.linkdb
Class LinkAnalysisEntry

java.lang.Object
  extended byorg.apache.nutch.io.VersionedWritable
      extended byorg.apache.nutch.linkdb.LinkAnalysisEntry
All Implemented Interfaces:
Writable

public class LinkAnalysisEntry
extends VersionedWritable

An entry in the LinkAnalysisTool's output. Consists of a single float for every entry in a table administered by LinkAnalysisTool.

Author:
Mike Cafarella

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

LinkAnalysisEntry

public LinkAnalysisEntry()
Method Detail

getVersion

public byte getVersion()
Description copied from class: VersionedWritable
Return the version number of the current implementation.

Specified by:
getVersion in class VersionedWritable

setScore

public void setScore(float score)

readFields

public void readFields(DataInput in)
                throws IOException
Description copied from interface: Writable
Reads the fields of this object from in. For efficiency, implementations should attempt to re-use storage in the existing object where possible.

Specified by:
readFields in interface Writable
Overrides:
readFields in class VersionedWritable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Description copied from interface: Writable
Writes the fields of this object to out.

Specified by:
write in interface Writable
Overrides:
write in class VersionedWritable
Throws:
IOException

read

public static LinkAnalysisEntry read(DataInput in)
                              throws IOException
Throws:
IOException

getScore

public float getScore()

equals

public boolean equals(Object o)


Copyright © 2006 The Apache Software Foundation