Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidMagic = errors.New("error invalid magic")
Functions ¶
This section is empty.
Types ¶
type BlockHandle ¶
type Index ¶
type Index struct {
// BlockHandle of all data blocks of this sstable
DataBlock BlockHandle
Entries []IndexEntry
}
Index 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 BlockHandle
}
IndexEntry include index of a sstable data block
Click to show internal directories.
Click to hide internal directories.