java.lang.Object
org.eclipse.jgit.internal.storage.file.BitmapIndexImpl
- All Implemented Interfaces:
BitmapIndex
A compressed bitmap representation of the entire object graph.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWrapper for aEWAHCompressedBitmapandPackBitmapIndex.Nested classes/interfaces inherited from interface org.eclipse.jgit.lib.BitmapIndex
BitmapIndex.Bitmap, BitmapIndex.BitmapBuilder -
Constructor Summary
ConstructorsConstructorDescriptionBitmapIndexImpl(PackBitmapIndex packIndex) Creates a BitmapIndex that is back by Compressed bitmaps. -
Method Summary
Modifier and TypeMethodDescriptiongetBitmap(AnyObjectId objectId) Get the bitmap for the id.org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.CompressedBitmapBuilderCreate a newBitmapBuilderbased on the values in the index.
-
Constructor Details
-
BitmapIndexImpl
Creates a BitmapIndex that is back by Compressed bitmaps.- Parameters:
packIndex- the bitmap index for the pack.
-
-
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.- Specified by:
getBitmapin interfaceBitmapIndex- Parameters:
objectId- the object ID- Returns:
- the Bitmap for the objectId or null, if one does not exist.
-
newBitmapBuilder
public org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.CompressedBitmapBuilder newBitmapBuilder()Create a newBitmapBuilderbased on the values in the index.- Specified by:
newBitmapBuilderin interfaceBitmapIndex- Returns:
- a new
BitmapBuilderbased on the values in the index.
-