| Modifier and Type | Class and Description |
|---|---|
| public static interface | BitmapIndex.
A bitmap representation of ObjectIds that can be iterated to return the
underlying |
| public static interface | BitmapIndex.
A builder for a bitmap. |
| public static interface | BitmapIndex.
Report the results of |
| Modifier and Type | Method and Description |
|---|---|
| public default void | addBitmapLookupListener(BitmapIndex.
instance listening to lookup events in the index. Never null.
Set to listenerBitmapLookupListener#NOOP to disable.Report to this listener whether |
| public BitmapIndex. | Returns: the Bitmap for the objectId or null, if one does not exist.the object ID objectId)Get the bitmap for the id. The returned bitmap is immutable and the bitwise operations return the result of the operation in a new Bitmap. |
| public BitmapIndex. | Returns: a newBitmapBuilder based on the values in the index.Create a new |
| addBitmapLookupListener | back to summary |
|---|---|
| public default void addBitmapLookupListener(BitmapIndex. Report to this listener whether
| |
| getBitmap | back to summary |
|---|---|
| public BitmapIndex. Get the bitmap for the id. The returned bitmap is immutable and the bitwise operations return the result of the operation in a new Bitmap.
| |
| newBitmapBuilder | back to summary |
|---|---|
| public BitmapIndex. Create a new
| |
ObjectIds or operated on with other Bitmaps.
| Modifier and Type | Method and Description |
|---|---|
| public BitmapIndex. | Returns: a bitmap that is the bitwise-AND-NOT.the other bitmap otherBitwise-AND-NOT the current bitmap with the value from the other bitmap. |
| public Iterator | Returns: an Iterator.Redeclares java. Returns an iterator over a set of elements of type BitmapObject. |
| public BitmapIndex. | Returns: a bitmap that is the bitwise-OR.the other bitmap otherBitwise-OR the current bitmap with the value from the other bitmap. |
| public EWAHCompressedBitmap | Returns: the correspondingEWAHCompressedBitmapReturns the corresponding raw compressed EWAH bitmap of the bitmap. |
| public BitmapIndex. | Returns: a bitmap that is the bitwise-XOR.the other bitmap otherBitwise-XOR the current bitmap with the value from the other bitmap. |
| andNot | back to summary |
|---|---|
| public BitmapIndex. Bitwise-AND-NOT the current bitmap with the value from the other bitmap.
| |
| iterator | back to summary |
|---|---|
| public Iterator Redeclares java. Returns an iterator over a set of elements of type BitmapObject. The
BitmapObject instance is reused across calls to
| |
| or | back to summary |
|---|---|
| public BitmapIndex. Bitwise-OR the current bitmap with the value from the other bitmap.
| |
| retrieveCompressed | back to summary |
|---|---|
| public EWAHCompressedBitmap retrieveCompressed() Returns the corresponding raw compressed EWAH bitmap of the bitmap.
| |
| xor | back to summary |
|---|---|
| public BitmapIndex. Bitwise-XOR the current bitmap with the value from the other bitmap.
| |
| Modifier and Type | Method and Description |
|---|---|
| public BitmapIndex. | Returns: the current builder.the object ID objectId, int the Git object type. See type)Constants.Adds the id to the bitmap. |
| public BitmapIndex. | Returns: the current builder.the other bitmap otherRedeclares org. Bitwise-AND-NOT the current bitmap with the value from the other bitmap. |
| public BitmapIndex. | |
| public int | |
| public boolean | Returns: whether the bitmap currently contains the object IDthe object ID objectId)Whether the bitmap has the id set. |
| public BitmapIndex | Returns: the BitmapIndex for this BitmapBuilderGet the BitmapIndex for this BitmapBuilder. |
| public BitmapIndex. | Returns: the current builder.the other bitmap otherRedeclares org. Bitwise-OR the current bitmap with the value from the other bitmap. |
| public void | |
| public boolean | Returns: true if the bitmap index was a complete match.the bitmap index to check if it is completely contained
inside of the current bitmap. bitmapIndex)Determines if the entire bitmap index is contained in the bitmap. |
| public BitmapIndex. | Returns: the current builder.the other bitmap otherRedeclares org. Bitwise-XOR the current bitmap with the value from the other bitmap. |
| addObject | back to summary |
|---|---|
| public BitmapIndex. Adds the id to the bitmap.
| |
| andNot | back to summary |
|---|---|
| public BitmapIndex. Redeclares org. Bitwise-AND-NOT the current bitmap with the value from the other bitmap.
| |
| build | back to summary |
|---|---|
| public BitmapIndex. Build the bitmap
| |
| cardinality | back to summary |
|---|---|
| public int cardinality() Get number of elements in the bitmap
| |
| contains | back to summary |
|---|---|
| public boolean contains(AnyObjectId objectId) Whether the bitmap has the id set.
| |
| getBitmapIndex | back to summary |
|---|---|
| public BitmapIndex getBitmapIndex() Get the BitmapIndex for this BitmapBuilder.
| |
| or | back to summary |
|---|---|
| public BitmapIndex. Redeclares org. Bitwise-OR the current bitmap with the value from the other bitmap.
| |
| remove | back to summary |
|---|---|
| public void remove(AnyObjectId objectId) Remove the id from the bitmap.
| |
| removeAllOrNone | back to summary |
|---|---|
| public boolean removeAllOrNone(PackBitmapIndex bitmapIndex) Determines if the entire bitmap index is contained in the bitmap. If it is, the matching bits are removed from the bitmap and true is returned. If the bitmap index is null, false is returned.
| |
| xor | back to summary |
|---|---|
| public BitmapIndex. Redeclares org. Bitwise-XOR the current bitmap with the value from the other bitmap.
| |
getBitmap(AnyObjectId)
| Modifier and Type | Field and Description |
|---|---|
| public static final BitmapIndex. | NOOP
No-op instance |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| NOOP | back to summary |
|---|---|
| public static final BitmapIndex. No-op instance | |
| onBitmapFound | back to summary |
|---|---|
| public void onBitmapFound(AnyObjectId oid) This object has a bitmap in the index
| |
| onBitmapNotFound | back to summary |
|---|---|
| public void onBitmapNotFound(AnyObjectId oid) This object does not have a bitmap in the index
| |