Package org.apache.iotdb.db.wal.io
Class WALByteBufReader
- java.lang.Object
-
- org.apache.iotdb.db.wal.io.WALByteBufReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class WALByteBufReader extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description WALByteBufReader(java.io.File logFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetFirstSearchIndex()booleanhasNext()LikeIterator.hasNext()java.nio.ByteBuffernext()LikeIterator.next()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
LikeIterator.hasNext()
-
next
public java.nio.ByteBuffer next() throws java.io.IOExceptionLikeIterator.next()- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
getFirstSearchIndex
public long getFirstSearchIndex()
-
-