Class LinkDumper.LinkNode
- java.lang.Object
-
- org.apache.nutch.scoring.webgraph.LinkDumper.LinkNode
-
- All Implemented Interfaces:
Writable
- Enclosing class:
- LinkDumper
public static class LinkDumper.LinkNode extends Object implements Writable
Bean class which holds url to node information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetNode()StringgetUrl()voidreadFields(DataInput in)voidsetNode(Node node)voidsetUrl(String url)voidwrite(DataOutput out)
-
-
-
Method Detail
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getNode
public Node getNode()
-
setNode
public void setNode(Node node)
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceWritable- Throws:
IOException
-
-