Interface BitmapIndex.Bitmap

All Superinterfaces:
Iterable<BitmapObject>
All Known Subinterfaces:
BitmapIndex.BitmapBuilder
All Known Implementing Classes:
BitmapIndexImpl.CompressedBitmap, BitmapIndexImpl.CompressedBitmapBuilder
Enclosing interface:
BitmapIndex

public static interface BitmapIndex.Bitmap extends Iterable<BitmapObject>
A bitmap representation of ObjectIds that can be iterated to return the underlying ObjectIds or operated on with other Bitmaps.
  • Method Details

    • or

      Bitwise-OR the current bitmap with the value from the other bitmap.
      Parameters:
      other - the other bitmap
      Returns:
      a bitmap that is the bitwise-OR.
    • andNot

      Bitwise-AND-NOT the current bitmap with the value from the other bitmap.
      Parameters:
      other - the other bitmap
      Returns:
      a bitmap that is the bitwise-AND-NOT.
    • xor

      Bitwise-XOR the current bitmap with the value from the other bitmap.
      Parameters:
      other - the other bitmap
      Returns:
      a bitmap that is the bitwise-XOR.
    • iterator

      Iterator<BitmapObject> iterator()
      Returns an iterator over a set of elements of type BitmapObject. The BitmapObject instance is reused across calls to Iterator.next() for performance reasons.
      Specified by:
      iterator in interface Iterable<BitmapObject>
      Returns:
      an Iterator.
    • retrieveCompressed

      com.googlecode.javaewah.EWAHCompressedBitmap retrieveCompressed()
      Returns the corresponding raw compressed EWAH bitmap of the bitmap.
      Returns:
      the corresponding EWAHCompressedBitmap
      Since:
      5.8