org.apache.nutch.service.impl

## Class NodeReader

- java.lang.Object
- - org.apache.nutch.service.impl.NodeReader

- All Implemented Interfaces:
    NutchReader

      public class NodeReader
      extends Object
      implements NutchReader

- - ### Field Summary

    - ### Fields inherited from interface org.apache.nutch.service.NutchReader

      `conf, LOG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NodeReader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `count(String path)`
    `List` | `head(String path, int nrows)`
    `List` | `read(String path)`
    `List` | `slice(String path, int start, int end)`

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

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

- - ### Constructor Detail

    - #### NodeReader

          public NodeReader()

  - ### Method Detail

    - #### read

          public List read(String path)
                    throws FileNotFoundException

      Specified by:
        `read` in interface `NutchReader`
      Throws:
        `FileNotFoundException`

    - #### head

          public List head(String path,
                           int nrows)
                    throws FileNotFoundException

      Specified by:
        `head` in interface `NutchReader`
      Throws:
        `FileNotFoundException`

    - #### slice

          public List slice(String path,
                            int start,
                            int end)
                     throws FileNotFoundException

      Specified by:
        `slice` in interface `NutchReader`
      Throws:
        `FileNotFoundException`

    - #### count

          public int count(String path)
                    throws FileNotFoundException

      Specified by:
        `count` in interface `NutchReader`
      Throws:
        `FileNotFoundException`

Copyright © 2021 The Apache Software Foundation