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, writeKeyfinal Ref ref
final long updateIndexDelta
RefEntry(Ref ref, long updateIndexDelta)
byte blockType()
blockType in class BlockWriter.Entryint valueType()
valueType in class BlockWriter.Entryint valueSize()
valueSize in class BlockWriter.Entryvoid writeValue(ReftableOutputStream os) throws java.io.IOException
writeValue in class BlockWriter.Entryjava.io.IOExceptionprivate static byte[] nameUtf8(Ref ref)