| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | prettyPrint(byte[]
the bytes of a multipack index rawMidx, PrintWriter a writer out)Writes to out, in human-readable format, the multipack index in rawMidx |
| private static int | printChunkLookup(PrintWriter out, byte[] rawMidx, int chunkCount, List<MultiPackIndexPrettyPrinter.
|
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int |
| MultiPackIndexPrettyPrinter | back to summary |
|---|---|
| public MultiPackIndexPrettyPrinter() | |
| prettyPrint | back to summary |
|---|---|
| public static void prettyPrint(byte[] rawMidx, PrintWriter out) Writes to out, in human-readable format, the multipack index in rawMidx
| |
| printChunkLookup | back to summary |
|---|---|
| private static int printChunkLookup(PrintWriter out, byte[] rawMidx, int chunkCount, List<MultiPackIndexPrettyPrinter. | |
| printOIDF | back to summary |
|---|---|
| private static int printOIDF(PrintWriter out, byte[] rawMidx, int start) | |
| printOIDL | back to summary |
|---|---|
| private static int printOIDL(PrintWriter out, byte[] rawMidx, int start, long end) | |
| printOOFF | back to summary |
|---|---|
| private static int printOOFF(PrintWriter out, byte[] rawMidx, int start, long end) | |
| printPNAM | back to summary |
|---|---|
| private static int printPNAM(PrintWriter out, byte[] rawMidx, int start, long end) | |
| printRIDX | back to summary |
|---|---|
| private static int printRIDX(PrintWriter out, byte[] rawMidx, int start, long end) | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | chunkName
Record Component accessed by chunkName(). |
| private final long | startOffset
Record Component accessed by startOffset(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public long | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| chunkName | back to summary |
|---|---|
| private final String chunkName Record Component accessed by chunkName(). | |
| startOffset | back to summary |
|---|---|
| private final long startOffset Record Component accessed by startOffset(). | |
| ChunkSegment | back to summary |
|---|---|
| private ChunkSegment(String chunkName, long startOffset) | |
| chunkName | back to summary |
|---|---|
| public String chunkName() Record Component getter of chunkName. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| startOffset | back to summary |
|---|---|
| public long startOffset() Record Component getter of startOffset. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |