Class ReftableWriter.IndexBuilder
java.lang.Object
org.eclipse.jgit.internal.storage.reftable.ReftableWriter.IndexBuilder
- Enclosing class:
ReftableWriter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) List
<BlockWriter.IndexEntry> (package private) final byte
(package private) int
(package private) long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
estimateBytes
(long curBlockPos) (package private) void
private void
private List
<BlockWriter.IndexEntry>
-
Field Details
-
keyType
final byte keyType -
entries
List<BlockWriter.IndexEntry> entries -
rootPosition
long rootPosition -
bytes
int bytes -
levels
int levels
-
-
Constructor Details
-
IndexBuilder
IndexBuilder(byte kt)
-
-
Method Details
-
estimateBytes
int estimateBytes(long curBlockPos) -
writeIndex
- Throws:
IOException
-
writeMultiLevelIndex
- Throws:
IOException
-
writeOneLevel
private List<BlockWriter.IndexEntry> writeOneLevel(List<BlockWriter.IndexEntry> keys) throws IOException - Throws:
IOException
-