接口 ILogReader

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void close()
      release resources occupied by this object, like file streams.
      boolean hasNext()
      return whether there exists next log to be read.
      ConfigPhysicalPlan next()
      return the next log read from media like a WAL file and covert it to a PhysicalPlan.
    • 方法详细资料

      • close

        void close()
        release resources occupied by this object, like file streams.
      • hasNext

        boolean hasNext()
                 throws java.io.FileNotFoundException
        return whether there exists next log to be read.
        返回:
        whether there exists next log to be read.
        抛出:
        java.io.IOException
        java.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 logs
        java.io.FileNotFoundException