Package org.apache.iotdb.db.wal.io
Class WALReader
- java.lang.Object
-
- org.apache.iotdb.db.wal.io.WALReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class WALReader extends java.lang.Object implements java.io.CloseableThis reader returnsWALEntrydirectly, the usage of WALReader is likeIterator.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()LikeIterator.hasNext()WALEntrynext()LikeIterator.next()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
LikeIterator.hasNext()
-
next
public WALEntry next()
LikeIterator.next()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-