public class BlockEntry extends Object implements Map.Entry<Slice,Slice>
name | offset | length | description |
---|---|---|---|
shared key length | 0 | vary | variable length encoded int: size of shared key prefix with the key from the previous entry |
non-shared key length | vary | vary | variable length encoded int: size of non-shared key suffix in this entry |
value length | vary | vary | variable length encoded int: size of value in this entry |
non-shared key | vary | non-shared key length | non-shared key data |
value | vary | value length | value data |
Constructor and Description |
---|
BlockEntry(Slice key,
Slice value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Slice |
getKey() |
Slice |
getValue() |
int |
hashCode() |
Slice |
setValue(Slice value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
Copyright © 2011–2019. All rights reserved.