org.apache.solr.update
Class HdfsTransactionLog.HDFSReverseReader

java.lang.Object
  extended by org.apache.solr.update.TransactionLog.ReverseReader
      extended by org.apache.solr.update.HdfsTransactionLog.HDFSReverseReader
Enclosing class:
HdfsTransactionLog

public class HdfsTransactionLog.HDFSReverseReader
extends TransactionLog.ReverseReader


Constructor Summary
HdfsTransactionLog.HDFSReverseReader()
           
 
Method Summary
 void close()
           
 Object next()
          Returns the next object from the log, or null if none available.
 long position()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HdfsTransactionLog.HDFSReverseReader

public HdfsTransactionLog.HDFSReverseReader()
                                     throws IOException
Throws:
IOException
Method Detail

next

public Object next()
            throws IOException
Returns the next object from the log, or null if none available.

Specified by:
next in class TransactionLog.ReverseReader
Returns:
The log record, or null if EOF
Throws:
IOException - If there is a low-level I/O error.

position

public long position()
Specified by:
position in class TransactionLog.ReverseReader

close

public void close()
Specified by:
close in class TransactionLog.ReverseReader

toString

public String toString()
Specified by:
toString in class TransactionLog.ReverseReader


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