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 interface
A bitmap representation of ObjectIds that can be iterated to return the underlyingObjectId
s or operated on with otherBitmap
s.static interface
A builder for a bitmap. -
Method Summary
Modifier and TypeMethodDescriptiongetBitmap
(AnyObjectId objectId) Get the bitmap for the id.Create a newBitmapBuilder
based 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 newBitmapBuilder
based on the values in the index.- Returns:
- a new
BitmapBuilder
based on the values in the index.
-