Module org.eclipse.jgit
Class PackBitmapIndexBuilder.StoredEntry
java.lang.Object
org.eclipse.jgit.internal.storage.file.PackBitmapIndexBuilder.StoredEntry
- Enclosing class:
- PackBitmapIndexBuilder
Data object for the on disk representation of a bitmap entry.
-
Constructor Summary
ConstructorsConstructorDescriptionStoredEntry(ObjectId objectId, long idxPosition, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, int xorOffset, int flags) Create a StoredEntry -
Method Summary
Modifier and TypeMethodDescriptioncom.googlecode.javaewah.EWAHCompressedBitmapGet the bitmapintgetFlags()Get the flagslongintGet the xorOffset
-
Constructor Details
-
StoredEntry
public StoredEntry(ObjectId objectId, long idxPosition, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, int xorOffset, int flags) Create a StoredEntry- Parameters:
objectId- objectId of the object associated with the bitmapidxPosition- position of this object into the pack index (i.e. sorted by sha1)bitmap- bitmap associated with this objectxorOffset- offset of the bitmap against which this bitmap is xor-compressed. If 0, then this bitmap is not xor-compressed against any other bitmapflags- flags for this bitmap
-
-
Method Details
-
getBitmap
public com.googlecode.javaewah.EWAHCompressedBitmap getBitmap()Get the bitmap- Returns:
- the bitmap
-
getXorOffset
public int getXorOffset()Get the xorOffset- Returns:
- the xorOffset
-
getFlags
public int getFlags()Get the flags- Returns:
- the flags
-
getIdxPosition
public long getIdxPosition()- Returns:
- the position of the object with this bitmap in the primary index (i.e. ordered by sha1)
-
getObjectId
- Returns:
- the objectId of the object associated with this bitmap
-