接口 ILogReader
-
- 所有已知实现类:
BatchLogReader,SingleFileLogReader
public interface ILogReader
-
-
方法详细资料
-
close
void close()
release resources occupied by this object, like file streams.
-
hasNext
boolean hasNext() throws java.io.FileNotFoundExceptionreturn whether there exists next log to be read.- 返回:
- whether there exists next log to be read.
- 抛出:
java.io.IOExceptionjava.io.FileNotFoundException
-
next
ConfigPhysicalPlan next() throws java.io.FileNotFoundException
return the next log read from media like a WAL file and covert it to a PhysicalPlan.- 返回:
- the next log as a PhysicalPlan
- 抛出:
java.util.NoSuchElementException- when there are no more logsjava.io.FileNotFoundException
-
-