类 MultiFileLogReader
- java.lang.Object
-
- org.apache.iotdb.db.utils.writelog.MultiFileLogReader
-
- 所有已实现的接口:
ILogReader
public class MultiFileLogReader extends java.lang.Object implements ILogReader
MultiFileLogReader constructs SingleFileLogReaders for a list of WAL files, and retrieve logs from the files one-by-one.
-
-
构造器概要
构造器 构造器 说明 MultiFileLogReader(java.io.File[] files)
-
-
-
方法详细资料
-
close
public void close()
从接口复制的说明:ILogReader
release resources occupied by this object, like file streams.- 指定者:
close
在接口中ILogReader
-
hasNext
public boolean hasNext() throws java.io.FileNotFoundException
从接口复制的说明:ILogReader
return whether there exists next log to be read.- 指定者:
hasNext
在接口中ILogReader
- 返回:
- whether there exists next log to be read.
- 抛出:
java.io.FileNotFoundException
-
next
public PhysicalPlan next() throws java.io.FileNotFoundException
从接口复制的说明:ILogReader
return the next log read from media like a WAL file and covert it to a PhysicalPlan.- 指定者:
next
在接口中ILogReader
- 返回:
- the next log as a PhysicalPlan
- 抛出:
java.io.FileNotFoundException
-
-