Package org.apache.solr.update
Class HdfsTransactionLog.HDFSReverseReader
- java.lang.Object
-
- org.apache.solr.update.TransactionLog.ReverseReader
-
- org.apache.solr.update.HdfsTransactionLog.HDFSReverseReader
-
- Enclosing class:
- HdfsTransactionLog
public class HdfsTransactionLog.HDFSReverseReader extends TransactionLog.ReverseReader
-
-
Constructor Summary
Constructors Constructor Description HDFSReverseReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Object
next()
Returns the next object from the log, or null if none available.long
position()
String
toString()
-
-
-
Constructor Detail
-
HDFSReverseReader
public 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 classTransactionLog.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 classTransactionLog.ReverseReader
-
close
public void close()
- Specified by:
close
in classTransactionLog.ReverseReader
-
toString
public String toString()
- Specified by:
toString
in classTransactionLog.ReverseReader
-
-