Class Lucene80DocValuesConsumer.CompressedBinaryBlockWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    Lucene80DocValuesConsumer

    class Lucene80DocValuesConsumer.CompressedBinaryBlockWriter
    extends java.lang.Object
    implements java.io.Closeable
    • Field Detail

      • uncompressedBlockLength

        int uncompressedBlockLength
      • maxUncompressedBlockLength

        int maxUncompressedBlockLength
      • numDocsInCurrentBlock

        int numDocsInCurrentBlock
      • docLengths

        final int[] docLengths
      • block

        byte[] block
      • totalChunks

        int totalChunks
      • maxPointer

        long maxPointer
      • blockAddressesStart

        final long blockAddressesStart
      • tempBinaryOffsets

        private final IndexOutput tempBinaryOffsets
    • Constructor Detail

      • CompressedBinaryBlockWriter

        public CompressedBinaryBlockWriter()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • addDoc

        void addDoc​(int doc,
                    BytesRef v)
             throws java.io.IOException
        Throws:
        java.io.IOException
      • flushData

        private void flushData()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeMetaData

        void writeMetaData()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException