Class AbstractReaderFileProxy

    • Field Detail

      • fileLength

        protected final long fileLength
    • Constructor Detail

      • AbstractReaderFileProxy

        protected AbstractReaderFileProxy​(ChannelProxy channel,
                                          long fileLength)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface ReaderFileProxy
      • getCrcCheckChance

        public double getCrcCheckChance()
        Description copied from interface: ReaderFileProxy
        Needed for tests. Returns the table's CRC check chance, which is only set for compressed tables.
        Specified by:
        getCrcCheckChance in interface ReaderFileProxy