Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMagic = errors.New("error invalid magic")
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct { // Block of all data blocks of this sstable DataBlock Block Entries []IndexEntry }
Index block stores the first and last key of each Data Block,
type IndexEntry ¶
type IndexEntry struct { // StartKey of each Data block StartKey string // EndKey of each Data block EndKey string // offset and length of each data block DataHandle Block }
IndexEntry include index of a sstable data block
Click to show internal directories.
Click to hide internal directories.