Class BasePackBitmapIndex
java.lang.Object
org.eclipse.jgit.internal.storage.file.PackBitmapIndex
org.eclipse.jgit.internal.storage.file.BasePackBitmapIndex
- Direct Known Subclasses:
PackBitmapIndexBuilder
,PackBitmapIndexV1
Base implementation of the PackBitmapIndex.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
Data representation of the bitmap entry restored from a pack index.private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectIdOwnerMap
<BasePackBitmapIndex.StoredBitmap> Fields inherited from class org.eclipse.jgit.internal.storage.file.PackBitmapIndex
FLAG_REUSE, packChecksum
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.googlecode.javaewah.EWAHCompressedBitmap
getBitmap
(AnyObjectId objectId) Returns the previously constructed bitmap for the object.(package private) ObjectIdOwnerMap
<BasePackBitmapIndex.StoredBitmap> Methods inherited from class org.eclipse.jgit.internal.storage.file.PackBitmapIndex
findPosition, getBitmapCount, getObject, getObjectCount, ofObjectType, open, read
-
Field Details
-
bitmaps
-
-
Constructor Details
-
BasePackBitmapIndex
BasePackBitmapIndex(ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> bitmaps)
-
-
Method Details
-
getBitmap
Returns the previously constructed bitmap for the object.- Specified by:
getBitmap
in classPackBitmapIndex
- Parameters:
objectId
- the id for which the bitmap will be found.- Returns:
- the bitmap or null if the object was not found.
-
getBitmaps
ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> getBitmaps()
-