类 SingleFileLogReader

  • 所有已实现的接口:
    ILogReader

    public class SingleFileLogReader
    extends java.lang.Object
    implements ILogReader
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static int LEAST_LOG_SIZE  
    • 方法概要

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • LEAST_LOG_SIZE

        public static final int LEAST_LOG_SIZE
        另请参阅:
        常量字段值
    • 构造器详细资料

      • SingleFileLogReader

        public SingleFileLogReader​(java.io.File logFile)
                            throws java.io.FileNotFoundException
        抛出:
        java.io.FileNotFoundException
    • 方法详细资料

      • hasNext

        public boolean hasNext()
        从接口复制的说明: ILogReader
        return whether there exists next log to be read.
        指定者:
        hasNext 在接口中 ILogReader
        返回:
        whether there exists next log to be read.
      • next

        public ConfigPhysicalPlan next()
        从接口复制的说明: 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
      • close

        public void close()
        从接口复制的说明: ILogReader
        release 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()