Documentation ¶
Overview ¶
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.
Index ¶
- Constants
- func StoreConstructor(config map[string]interface{}) (store.KVStore, error)
- type Batch
- type Item
- type Iterator
- type Reader
- type Store
- func (s *Store) Close() error
- func (w *Store) Delete(k []byte) (err error)
- func (w *Store) Get(k []byte) (v []byte, err error)
- func (w *Store) Iterator(k []byte) store.KVIterator
- func (w *Store) NewBatch() store.KVBatch
- func (s *Store) Reader() (store.KVReader, error)
- func (w *Store) Set(k, v []byte) (err error)
- func (s *Store) Writer() (store.KVWriter, error)
Constants ¶
View Source
const Name = "gtreap"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.