Class BasePackBitmapIndex
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.PackBitmapIndex
-
- org.eclipse.jgit.internal.storage.file.BasePackBitmapIndex
-
- Direct Known Subclasses:
PackBitmapIndexBuilder,PackBitmapIndexV1
abstract class BasePackBitmapIndex extends PackBitmapIndex
Base implementation of the PackBitmapIndex.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBasePackBitmapIndex.StoredBitmapData representation of the bitmap entry restored from a pack index.private static classBasePackBitmapIndex.XorCompressedBitmap
-
Field Summary
Fields Modifier and Type Field Description private ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap>bitmaps-
Fields inherited from class org.eclipse.jgit.internal.storage.file.PackBitmapIndex
FLAG_REUSE, packChecksum
-
-
Constructor Summary
Constructors Constructor Description BasePackBitmapIndex(ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> bitmaps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.googlecode.javaewah.EWAHCompressedBitmapgetBitmap(AnyObjectId objectId)Returns the previously constructed bitmap for the object.(package private) ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap>getBitmaps()-
Methods inherited from class org.eclipse.jgit.internal.storage.file.PackBitmapIndex
findPosition, getBitmapCount, getObject, getObjectCount, ofObjectType, open, read
-
-
-
-
Field Detail
-
bitmaps
private final ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> bitmaps
-
-
Constructor Detail
-
BasePackBitmapIndex
BasePackBitmapIndex(ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> bitmaps)
-
-
Method Detail
-
getBitmap
public com.googlecode.javaewah.EWAHCompressedBitmap getBitmap(AnyObjectId objectId)
Returns the previously constructed bitmap for the object.- Specified by:
getBitmapin 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()
-
-