Class Lucene90CompressingStoredFieldsReader

    • Field Detail

      • version

        private final int version
      • maxPointer

        private final long maxPointer
      • fieldsStream

        private final IndexInput fieldsStream
      • chunkSize

        private final int chunkSize
      • numDocs

        private final int numDocs
      • merging

        private final boolean merging
      • numChunks

        private final long numChunks
      • numDirtyChunks

        private final long numDirtyChunks
      • numDirtyDocs

        private final long numDirtyDocs
      • closed

        private boolean closed
    • Constructor Detail

      • Lucene90CompressingStoredFieldsReader

        public Lucene90CompressingStoredFieldsReader​(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
      • isLoaded

        boolean isLoaded​(int docID)
        Checks if a given docID was loaded in the current block state.
      • getVersion

        int getVersion()
      • getMaxPointer

        long getMaxPointer()
      • getChunkSize

        int getChunkSize()
      • getNumDirtyDocs

        long getNumDirtyDocs()
      • getNumDirtyChunks

        long getNumDirtyChunks()
      • getNumChunks

        long getNumChunks()
      • getNumDocs

        int getNumDocs()
      • 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