Class HnswBitVectorsFormat.FlatBitVectorsWriter

    • Constructor Detail

      • FlatBitVectorsWriter

        public FlatBitVectorsWriter​(KnnVectorsWriter delegate)
    • Method Detail

      • finish

        public void finish()
                    throws java.io.IOException
        Description copied from class: KnnVectorsWriter
        Called once at the end before close
        Specified by:
        finish in class KnnVectorsWriter
        Throws:
        java.io.IOException
      • flush

        public void flush​(int maxDoc,
                          Sorter.DocMap sortMap)
                   throws java.io.IOException
        Description copied from class: KnnVectorsWriter
        Flush all buffered data on disk *
        Specified by:
        flush in class KnnVectorsWriter
        Throws:
        java.io.IOException
      • close

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

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.