memtable

package
v0.0.0-...-3976360 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemTable

type MemTable struct {
	// contains filtered or unexported fields
}

func New

func New(icmp *keys.InternalComparator) *MemTable

func (*MemTable) Add

func (m *MemTable) Add(seq keys.Sequence, kind keys.Kind, key, value []byte)

func (*MemTable) ApproximateMemoryUsage

func (m *MemTable) ApproximateMemoryUsage() int

func (*MemTable) Empty

func (m *MemTable) Empty() bool

func (*MemTable) Get

func (m *MemTable) Get(ikey keys.InternalKey) (value []byte, err error, ok bool)

func (*MemTable) NewIterator

func (m *MemTable) NewIterator() iterator.Iterator

func (*MemTable) Overlap

func (m *MemTable) Overlap(start, limit []byte) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL