Package org.eclipse.jgit.lib
Interface BitmapIndex
-
- All Known Implementing Classes:
BitmapIndexImpl
public interface BitmapIndexA compressed bitmap representation of the entire object graph.- Since:
- 3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBitmapIndex.BitmapA bitmap representation of ObjectIds that can be iterated to return the underlyingObjectIds or operated on with otherBitmaps.static interfaceBitmapIndex.BitmapBuilderA builder for a bitmap.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitmapIndex.BitmapgetBitmap(AnyObjectId objectId)Get the bitmap for the id.BitmapIndex.BitmapBuildernewBitmapBuilder()Create a newBitmapBuilderbased on the values in the index.
-
-
-
Method Detail
-
getBitmap
BitmapIndex.Bitmap getBitmap(AnyObjectId 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.- Parameters:
objectId- the object ID- Returns:
- the Bitmap for the objectId or null, if one does not exist.
-
newBitmapBuilder
BitmapIndex.BitmapBuilder newBitmapBuilder()
Create a newBitmapBuilderbased on the values in the index.- Returns:
- a new
BitmapBuilderbased on the values in the index.
-
-