static class BlockWriter.RefEntry extends BlockWriter.Entry
Modifier and Type | Field and Description |
---|---|
(package private) Ref |
ref |
(package private) long |
updateIndexDelta |
key, prefixLen, restart
Constructor and Description |
---|
RefEntry(Ref ref,
long updateIndexDelta) |
Modifier and Type | Method and Description |
---|---|
(package private) byte |
blockType() |
private static byte[] |
nameUtf8(Ref ref) |
(package private) int |
valueSize() |
(package private) int |
valueType() |
(package private) void |
writeValue(ReftableOutputStream os) |
compare, sizeBytes, writeKey
final Ref ref
final long updateIndexDelta
RefEntry(Ref ref, long updateIndexDelta)
byte blockType()
blockType
in class BlockWriter.Entry
int valueType()
valueType
in class BlockWriter.Entry
int valueSize()
valueSize
in class BlockWriter.Entry
void writeValue(ReftableOutputStream os) throws java.io.IOException
writeValue
in class BlockWriter.Entry
java.io.IOException
private static byte[] nameUtf8(Ref ref)