Class BasePackBitmapIndex.StoredBitmap

All Implemented Interfaces:
Serializable, Comparable<AnyObjectId>
Enclosing class:
BasePackBitmapIndex

static final class BasePackBitmapIndex.StoredBitmap extends ObjectIdOwnerMap.Entry
Data representation of the bitmap entry restored from a pack index. The commit of the bitmap is the map key.
  • Field Details

    • bitmapContainer

      private volatile Object bitmapContainer
    • flags

      private final int flags
  • Constructor Details

  • Method Details

    • getBitmap

      com.googlecode.javaewah.EWAHCompressedBitmap getBitmap()
      Computes and returns the full bitmap.
      Returns:
      the full bitmap
    • getBitmapWithoutCaching

      com.googlecode.javaewah.EWAHCompressedBitmap getBitmapWithoutCaching()
      Compute and return the full bitmap, do NOT cache the expanded bitmap, which saves memory and should only be used during bitmap creation in garbage collection.
      Returns:
      the full bitmap
    • getFlags

      int getFlags()
      Returns:
      the flags associated with the bitmap