Class Node
- java.lang.Object
-
- org.apache.nutch.scoring.webgraph.Node
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getInlinkScore()
Metadata
getMetadata()
int
getNumInlinks()
int
getNumOutlinks()
float
getOutlinkScore()
void
readFields(DataInput in)
void
setInlinkScore(float inlinkScore)
void
setMetadata(Metadata metadata)
void
setNumInlinks(int numInlinks)
void
setNumOutlinks(int numOutlinks)
String
toString()
void
write(DataOutput out)
-
-
-
Method Detail
-
getNumInlinks
public int getNumInlinks()
-
setNumInlinks
public void setNumInlinks(int numInlinks)
-
getNumOutlinks
public int getNumOutlinks()
-
setNumOutlinks
public void setNumOutlinks(int numOutlinks)
-
getInlinkScore
public float getInlinkScore()
-
setInlinkScore
public void setInlinkScore(float inlinkScore)
-
getOutlinkScore
public float getOutlinkScore()
-
getMetadata
public Metadata getMetadata()
-
setMetadata
public void setMetadata(Metadata metadata)
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFields
in interfaceWritable
- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
-