Class BasePackBitmapIndex.StoredBitmap
java.lang.Object
org.eclipse.jgit.lib.AnyObjectId
org.eclipse.jgit.lib.ObjectId
org.eclipse.jgit.lib.ObjectIdOwnerMap.Entry
org.eclipse.jgit.internal.storage.file.BasePackBitmapIndex.StoredBitmap
- All Implemented Interfaces:
Serializable
,Comparable<AnyObjectId>
- Enclosing class:
- BasePackBitmapIndex
Data representation of the bitmap entry restored from a pack index. The
commit of the bitmap is the map key.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStoredBitmap
(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BasePackBitmapIndex.StoredBitmap xorBitmap, int flags) -
Method Summary
Modifier and TypeMethodDescription(package private) com.googlecode.javaewah.EWAHCompressedBitmap
Computes and returns the full bitmap.(package private) com.googlecode.javaewah.EWAHCompressedBitmap
Compute and return the full bitmap, do NOT cache the expanded bitmap, which saves memory and should only be used during bitmap creation in garbage collection.(package private) int
getFlags()
Methods inherited from class org.eclipse.jgit.lib.ObjectId
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
Methods inherited from class org.eclipse.jgit.lib.AnyObjectId
abbreviate, compareTo, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, equals, equals, equals, getByte, getFirstByte, getName, hashCode, isEqual, name, startsWith, toString
-
Field Details
-
bitmapContainer
-
flags
private final int flags
-
-
Constructor Details
-
StoredBitmap
StoredBitmap(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BasePackBitmapIndex.StoredBitmap xorBitmap, int flags)
-
-
Method Details
-
getBitmap
com.googlecode.javaewah.EWAHCompressedBitmap getBitmap()Computes and returns the full bitmap.- Returns:
- the full bitmap
-
getBitmapWithoutCaching
com.googlecode.javaewah.EWAHCompressedBitmap getBitmapWithoutCaching()Compute and return the full bitmap, do NOT cache the expanded bitmap, which saves memory and should only be used during bitmap creation in garbage collection.- Returns:
- the full bitmap
-
getFlags
int getFlags()- Returns:
- the flags associated with the bitmap
-