Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DbOpt ¶
type DbOpt func(*dbOpts)
func WithDbPath ¶
func WithLogger ¶
func WithLogger(l log.LoggerType) DbOpt
type Manifest ¶
type Manifest struct { Id string L0 []string // id's of the sst files Levels [][]string // id's of the sst files Table string CreatedAt int64 Path string BlockSize uint64 MaxLevels int // seqNum is a global counter for memtable writes to distinguish between new and old entries. SeqNum uint64 // nextFileNumber indicates next file number that will be assigned to wal and memtable. NextFileNumber uint64 LastFlushedFileNumber uint64 // contains filtered or unexported fields }
func (*Manifest) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.