[TOC]
org.apache.nutch.scoring.webgraph
Class LinkDumper.LinkNodes
- java.lang.Object
- org.apache.nutch.scoring.webgraph.LinkDumper.LinkNodes
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- LinkDumper
public static class LinkDumper.LinkNodes extends Object implements org.apache.hadoop.io.Writable
Writable class which holds an array of LinkNode objects.
Constructor Summary
Constructors Constructor and Description LinkDumper.LinkNodes()
LinkDumper.LinkNodes(LinkDumper.LinkNode[] links)
Method Summary
Methods Modifier and Type Method and Description LinkDumper.LinkNode[]
getLinks()
void
readFields(DataInput in)
void
setLinks(LinkDumper.LinkNode[] links)
void
write(DataOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
-
LinkDumper.LinkNodes
public LinkDumper.LinkNodes()
-
LinkDumper.LinkNodes
public LinkDumper.LinkNodes(LinkDumper.LinkNode[] links)
Method Detail
-
getLinks
public LinkDumper.LinkNode[] getLinks()
-
setLinks
public void setLinks(LinkDumper.LinkNode[] links)
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
- <code>readFields</code> in interface <code>org.apache.hadoop.io.Writable</code>
- Throws:
- <code>IOException</code>
-
write
public void write(DataOutput out) throws IOException
- Specified by:
- <code>write</code> in interface <code>org.apache.hadoop.io.Writable</code>
- Throws:
- <code>IOException</code>