Class MLogReader
- java.lang.Object
-
- org.apache.iotdb.db.metadata.logfile.MLogReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class MLogReader extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description MLogReader(java.io.File logFile)MLogReader(java.lang.String logFilePath)MLogReader(java.lang.String schemaDir, java.lang.String logFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()booleanisFileCorrupted()PhysicalPlannext()
-
-
-
Constructor Detail
-
MLogReader
public MLogReader(java.lang.String schemaDir, java.lang.String logFileName) throws java.io.IOException- Throws:
java.io.IOException
-
MLogReader
public MLogReader(java.lang.String logFilePath) throws java.io.IOException- Throws:
java.io.IOException
-
MLogReader
public MLogReader(java.io.File logFile) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public PhysicalPlan next()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
isFileCorrupted
public boolean isFileCorrupted()
-
-