org.apache.nutch.scoring.webgraph

## 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 java.lang.Object
      implements Writable

  Bean class which holds url to node information.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LinkNode()`
    `LinkNode(java.lang.String url, Node node)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Node` | `getNode()`
    `java.lang.String` | `getUrl()`
    `void` | `readFields(java.io.DataInput in)`
    `void` | `setNode(Node node)`
    `void` | `setUrl(java.lang.String url)`
    `void` | `write(java.io.DataOutput out)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LinkNode

          public LinkNode()

    - #### LinkNode

          public LinkNode(java.lang.String url,
                          Node node)

  - ### Method Detail

    - #### getUrl

          public java.lang.String getUrl()

    - #### setUrl

          public void setUrl(java.lang.String url)

    - #### getNode

          public Node getNode()

    - #### setNode

          public void setNode(Node node)

    - #### readFields

          public void readFields(java.io.DataInput in)
                          throws java.io.IOException

      Specified by:
        `readFields` in interface `Writable`
      Throws:
        `java.io.IOException`

    - #### write

          public void write(java.io.DataOutput out)
                     throws java.io.IOException

      Specified by:
        `write` in interface `Writable`
      Throws:
        `java.io.IOException`

Copyright © 2019 The Apache Software Foundation