类 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.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void close()
      release resources occupied by this object, like file streams.
      boolean hasNext()
      return whether there exists next log to be read.
      PhysicalPlan next()
      return the next log read from media like a WAL file and covert it to a PhysicalPlan.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • MultiFileLogReader

        public 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