Class BitmapInvertedIndexWriter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class BitmapInvertedIndexWriter
    extends Object
    implements Closeable
    Writer for bitmap inverted index file.
     Layout for RoaringBitmap inverted index:
     |-------------------------------------------------------------------------|
     |                    Start offset of 1st bitmap                           |
     |    End offset of 1st bitmap (exclusive) / Start offset of 2nd bitmap    |
     |                                   ...                                   |
     | End offset of 2nd last bitmap (exclusive) / Start offset of last bitmap |
     |                  End offset of last bitmap (exclusive)                  |
     |-------------------------------------------------------------------------|
     |                           Data for 1st bitmap                           |
     |                           Data for 2nd bitmap                           |
     |                                   ...                                   |
     |                           Data for last bitmap                          |
     |-------------------------------------------------------------------------|