Package org.apache.solr.update
Class TransactionLog.ReverseReader
- java.lang.Object
-
- org.apache.solr.update.TransactionLog.ReverseReader
-
- Direct Known Subclasses:
HdfsTransactionLog.HDFSReverseReader
,TransactionLog.FSReverseReader
- Enclosing class:
- TransactionLog
public abstract class TransactionLog.ReverseReader extends Object
-
-
Constructor Summary
Constructors Constructor Description ReverseReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
close()
abstract Object
next()
Returns the next object from the log, or null if none available.abstract long
position()
abstract String
toString()
-
-
-
Method Detail
-
next
public abstract Object next() throws IOException
Returns the next object from the log, or null if none available.- Returns:
- The log record, or null if EOF
- Throws:
IOException
- If there is a low-level I/O error.
-
position
public abstract long position()
-
close
public abstract void close()
-
-