Class Lucene50CompressingStoredFieldsReader

    • Constructor Detail

      • Lucene50CompressingStoredFieldsReader

        public Lucene50CompressingStoredFieldsReader​(Directory d,
                                                     SegmentInfo si,
                                                     java.lang.String segmentSuffix,
                                                     FieldInfos fn,
                                                     IOContext context,
                                                     java.lang.String formatName,
                                                     CompressionMode compressionMode)
                                              throws java.io.IOException
        Sole constructor.
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Close the underlying IndexInputs.
        Throws:
        java.io.IOException
      • skipField

        private static void skipField​(DataInput in,
                                      int bits)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • readZFloat

        static float readZFloat​(DataInput in)
                         throws java.io.IOException
        Reads a float in a variable-length format. Reads between one and five bytes. Small integral values typically take fewer bytes.
        Throws:
        java.io.IOException
      • readZDouble

        static double readZDouble​(DataInput in)
                           throws java.io.IOException
        Reads a double in a variable-length format. Reads between one and nine bytes. Small integral values typically take fewer bytes.
        Throws:
        java.io.IOException
      • readTLong

        static long readTLong​(DataInput in)
                       throws java.io.IOException
        Reads a long in a variable-length format. Reads between one andCorePropLo nine bytes. Small values typically take fewer bytes.
        Throws:
        java.io.IOException
      • checkIntegrity

        public void checkIntegrity()
                            throws java.io.IOException
        Description copied from class: StoredFieldsReader
        Checks consistency of this reader.

        Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.

        Specified by:
        checkIntegrity in class StoredFieldsReader
        Throws:
        java.io.IOException
      • toString

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