PackBitmapIndex
| Modifier and Type | Class and Description |
|---|---|
| private static class | PackBitmapIndexV1.
Temporary holder of object position in pack index and other metadata for
|
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectIdOwnerMap | |
| private final EWAHCompressedBitmap | |
| private final EWAHCompressedBitmap | |
| private static final ExecutorService | |
| pack-priv static final byte[] | |
| private static final int | |
| pack-priv static final int | |
| private byte[] | |
| private final PackIndex | |
| private final PackReverseIndex | |
| private final EWAHCompressedBitmap | |
| private final EWAHCompressedBitmap |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | PackBitmapIndexV1(final InputStream fd, PackBitmapIndex.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | findPosition(AnyObjectId
the id for which the bitmap position will be found. objectId)Implements org. Finds the position in the bitmap of the object. |
| public int | getBitmapCount()
Implements org. Returns the number of bitmaps in this bitmap index. |
| public ObjectId | getObject(int
the offset in the bitmap which corresponds to an object of
interest. This position is the same as the order of the object
in the position)PackFile.Implements org. Get the object at the bitmap position. |
| public int | getObjectCount()
Implements org. Obtain the total number of objects described by this index. |
| public byte[] | getPackChecksum()
Overrides default org. Footer checksum applied on the bottom of the pack file. |
| pack-priv PackIndex | |
| public int | |
| public EWAHCompressedBitmap | ofObjectType(EWAHCompressedBitmap
the object bitmap. bitmap, int the Git type. type)Implements org. Returns a bitmap containing positions for objects that have the given Git type. |
| private static EWAHCompressedBitmap |
| bitmaps | back to summary |
|---|---|
| private final ObjectIdOwnerMap<BasePackBitmapIndex. Hides org. | |
| blobs | back to summary |
|---|---|
| private final EWAHCompressedBitmap blobs | |
| commits | back to summary |
|---|---|
| private final EWAHCompressedBitmap commits | |
| executor | back to summary |
|---|---|
| private static final ExecutorService executor | |
| MAGIC | back to summary |
|---|---|
| pack-priv static final byte[] MAGIC | |
| MAX_XOR_OFFSET | back to summary |
|---|---|
| private static final int MAX_XOR_OFFSET | |
| OPT_FULL | back to summary |
|---|---|
| pack-priv static final int OPT_FULL | |
| packChecksum | back to summary |
|---|---|
| private byte[] packChecksum | |
| packIndex | back to summary |
|---|---|
| private final PackIndex packIndex | |
| reverseIndex | back to summary |
|---|---|
| private final PackReverseIndex reverseIndex | |
| tags | back to summary |
|---|---|
| private final EWAHCompressedBitmap tags | |
| trees | back to summary |
|---|---|
| private final EWAHCompressedBitmap trees | |
| PackBitmapIndexV1 | back to summary |
|---|---|
| pack-priv PackBitmapIndexV1(final InputStream fd, PackIndex packIndex, PackReverseIndex reverseIndex) throws IOException | |
| PackBitmapIndexV1 | back to summary |
|---|---|
| pack-priv PackBitmapIndexV1(final InputStream fd, PackBitmapIndex. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findPosition | back to summary |
|---|---|
| public int findPosition(AnyObjectId objectId) Implements org. Doc from org. Finds the position in the bitmap of the object.
| |
| getBitmapCount | back to summary |
|---|---|
| public int getBitmapCount() Implements org. Doc from org. Returns the number of bitmaps in this bitmap index.
| |
| getObject | back to summary |
|---|---|
| public ObjectId getObject(int position) throws IllegalArgumentException Implements org. Doc from org. Get the object at the bitmap position.
| |
| getObjectCount | back to summary |
|---|---|
| public int getObjectCount() Implements org. Doc from org. Obtain the total number of objects described by this index.
| |
| getPackChecksum | back to summary |
|---|---|
| public byte[] getPackChecksum() Overrides default org. Doc from org. Footer checksum applied on the bottom of the pack file.
| |
| getPackIndex | back to summary |
|---|---|
| pack-priv PackIndex getPackIndex() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| ofObjectType | back to summary |
|---|---|
| public EWAHCompressedBitmap ofObjectType(EWAHCompressedBitmap bitmap, int type) Implements org. Doc from org. Returns a bitmap containing positions for objects that have the given Git type.
| |
| readBitmap | back to summary |
|---|---|
| private static EWAHCompressedBitmap readBitmap(DataInput dataInput) throws IOException | |
StoredBitmap.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv EWAHCompressedBitmap | |
| pack-priv int | |
| pack-priv int | |
| pack-priv BasePackBitmapIndex. | |
| pack-priv PackBitmapIndexV1. |
| Access | Constructor and Description |
|---|---|
| pack-priv | IdxPositionBitmap(int nthObjectId, PackBitmapIndexV1.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv BasePackBitmapIndex. |
| bitmap | back to summary |
|---|---|
| pack-priv EWAHCompressedBitmap bitmap | |
| flags | back to summary |
|---|---|
| pack-priv int flags | |
| nthObjectId | back to summary |
|---|---|
| pack-priv int nthObjectId | |
| sb | back to summary |
|---|---|
| pack-priv BasePackBitmapIndex. | |
| xorIdxPositionBitmap | back to summary |
|---|---|
| pack-priv PackBitmapIndexV1. | |
| IdxPositionBitmap | back to summary |
|---|---|
| pack-priv IdxPositionBitmap(int nthObjectId, PackBitmapIndexV1. | |
| getXorStoredBitmap | back to summary |
|---|---|
| pack-priv BasePackBitmapIndex. | |