org.apache.solr.update

## Class HdfsTransactionLog.HDFSLogReader

- java.lang.Object
- - org.apache.solr.update.TransactionLog.LogReader
  - - org.apache.solr.update.HdfsTransactionLog.HDFSLogReader

- Enclosing class:
    HdfsTransactionLog

      public class HdfsTransactionLog.HDFSLogReader
      extends TransactionLog.LogReader

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HDFSLogReader(long startingPos)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `long` | `currentPos()`
    `long` | `currentSize()`
    `Object` | `next()` Returns the next object from the log, or null if none available.
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### HDFSLogReader

          public HDFSLogReader(long startingPos)

  - ### Method Detail

    - #### next

          public Object next()
                      throws IOException,
                             InterruptedException

      Returns the next object from the log, or null if none available.
      Overrides:
        `next` in class `TransactionLog.LogReader`
      Returns:
        The log record, or null if EOF
      Throws:
        `IOException` - If there is a low-level I/O error.
        `InterruptedException`

    - #### close

          public void close()

      Overrides:
        `close` in class `TransactionLog.LogReader`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `TransactionLog.LogReader`

    - #### currentPos

          public long currentPos()

      Overrides:
        `currentPos` in class `TransactionLog.LogReader`

    - #### currentSize

          public long currentSize()

      Overrides:
        `currentSize` in class `TransactionLog.LogReader`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.