Documentation ¶
Index ¶
- Variables
- type Level
- type Manifest
- func (m *Manifest) AddTable(table *sstable.SSTable, level int) error
- func (m *Manifest) ClearLevel(level int) error
- func (m *Manifest) Close() error
- func (man *Manifest) Compact()
- func (m *Manifest) RemoveTable(table *sstable.SSTable, level int) error
- func (m *Manifest) Replay() error
- func (m *Manifest) Search(key []byte) ([]byte, error)
- func (m *Manifest) Trigger(level *Level) bool
- type ManifestEntry
- type ManifestOp
- type Opts
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Level ¶
func (*Level) BinarySearch ¶
Binary search the current level for table that has range overlapping key
type Manifest ¶
type Manifest struct { Levels []*Level // in-memory representation of levels Path string // path to manifest SSTable_max_size int // Max size to use when splitting tables BloomPath string // Path to filters directory // contains filtered or unexported fields }
func (*Manifest) ClearLevel ¶
func (*Manifest) RemoveTable ¶
type ManifestEntry ¶
type ManifestEntry struct { Op ManifestOp Level int Table *pb.SSTable }
func FromProto ¶
func FromProto(p *pb.ManifestEntry) *ManifestEntry
func (*ManifestEntry) Apply ¶
func (entry *ManifestEntry) Apply(c interface{}) error
func (*ManifestEntry) MarshalProto ¶
func (entry *ManifestEntry) MarshalProto() proto.Message
Click to show internal directories.
Click to hide internal directories.