Package org.iq80.leveldb.table
Class BlockEntry
java.lang.Object
org.iq80.leveldb.table.BlockEntry
Binary Structure
| 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 |
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
-
value
-
-
Constructor Details
-
BlockEntry
-
-
Method Details
-
getKey
-
getValue
-
setValue
- Specified by:
setValuein interfaceMap.Entry<Slice,Slice> - Throws:
UnsupportedOperationException- always
-
equals
-
hashCode
public int hashCode() -
toString
-