Package org.eclipse.jgit.lib
Interface BitmapIndex
- All Known Implementing Classes:
BitmapIndexImpl
public interface BitmapIndex
A compressed bitmap representation of the entire object graph.
- Since:
- 3.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA bitmap representation of ObjectIds that can be iterated to return the underlyingObjectIds or operated on with otherBitmaps.static interfaceA builder for a bitmap. -
Method Summary
Modifier and TypeMethodDescriptiongetBitmap(AnyObjectId objectId) Get the bitmap for the id.Create a newBitmapBuilderbased on the values in the index.
-
Method Details
-
getBitmap
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.
-