Package org.apache.solr.update
Class HdfsTransactionLog.HDFSSortedLogReader
- java.lang.Object
-
- org.apache.solr.update.TransactionLog.LogReader
-
- org.apache.solr.update.HdfsTransactionLog.HDFSLogReader
-
- org.apache.solr.update.HdfsTransactionLog.HDFSSortedLogReader
-
- Enclosing class:
- HdfsTransactionLog
public class HdfsTransactionLog.HDFSSortedLogReader extends HdfsTransactionLog.HDFSLogReader
-
-
Constructor Summary
Constructors Constructor Description HDFSSortedLogReader(long startingPos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
next()
Returns the next object from the log, or null if none available.-
Methods inherited from class org.apache.solr.update.HdfsTransactionLog.HDFSLogReader
close, currentPos, currentSize, toString
-
-
-
-
Method Detail
-
next
public Object next() throws IOException, InterruptedException
Description copied from class:HdfsTransactionLog.HDFSLogReader
Returns the next object from the log, or null if none available.- Overrides:
next
in classHdfsTransactionLog.HDFSLogReader
- Returns:
- The log record, or null if EOF
- Throws:
IOException
- If there is a low-level I/O error.InterruptedException
-
-