Documentation ¶
Overview ¶
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.
Package gtreap provides an in-memory implementation of the KVStore interfaces using the gtreap balanced-binary treap, copy-on-write data structure.
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 Item
- type Iterator
- type Reader
- type Store
- type Writer
- func (w *Writer) BytesSafeAfterClose() bool
- func (w *Writer) Close() error
- func (w *Writer) Delete(k []byte) (err error)
- func (w *Writer) Get(k []byte) (v []byte, err error)
- func (w *Writer) Iterator(k []byte) store.KVIterator
- func (w *Writer) NewBatch() store.KVBatch
- func (w *Writer) Set(k, v []byte) (err error)
Constants ¶
View Source
const MAX_CONCURRENT_WRITERS = 1
View Source
const Name = "gtreap"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) BytesSafeAfterClose ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) SetMergeOperator ¶
func (s *Store) SetMergeOperator(mo store.MergeOperator)
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) BytesSafeAfterClose ¶
Click to show internal directories.
Click to hide internal directories.