类 SingleFileLogReader
- java.lang.Object
-
- org.apache.iotdb.confignode.writelog.io.SingleFileLogReader
-
- 所有已实现的接口:
ILogReader
public class SingleFileLogReader extends java.lang.Object implements ILogReader
-
-
字段概要
字段 修饰符和类型 字段 说明 static intLEAST_LOG_SIZE
-
构造器概要
构造器 构造器 说明 SingleFileLogReader(java.io.File logFile)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()release resources occupied by this object, like file streams.booleanhasNext()return whether there exists next log to be read.booleanisFileCorrupted()ConfigPhysicalPlannext()return the next log read from media like a WAL file and covert it to a PhysicalPlan.voidopen(java.io.File logFile)
-
-
-
字段详细资料
-
LEAST_LOG_SIZE
public static final int LEAST_LOG_SIZE
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
hasNext
public boolean hasNext()
从接口复制的说明:ILogReaderreturn whether there exists next log to be read.- 指定者:
hasNext在接口中ILogReader- 返回:
- whether there exists next log to be read.
-
next
public ConfigPhysicalPlan next()
从接口复制的说明:ILogReaderreturn the next log read from media like a WAL file and covert it to a PhysicalPlan.- 指定者:
next在接口中ILogReader- 返回:
- the next log as a PhysicalPlan
-
close
public void close()
从接口复制的说明:ILogReaderrelease resources occupied by this object, like file streams.- 指定者:
close在接口中ILogReader
-
open
public void open(java.io.File logFile) throws java.io.FileNotFoundException- 抛出:
java.io.FileNotFoundException
-
isFileCorrupted
public boolean isFileCorrupted()
-
-