class Hint
Represents a hint item in a Bitcask hint file.
Attributes:
Name | Type | Description |
---|---|---|
tstamp |
UUID
|
The timestamp associated with the key record as uuid7. |
key_sz |
int
|
The size of the key in bytes. |
value_sz |
int
|
The size of the value in bytes. |
value_pos |
int
|
The position of the value within the corresponding data file. |
key |
bytes
|
The key associated with the data value. |
Source code in src/py_bitcask/bitcask.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|