Versions in this module Expand all Collapse all v2 v2.4.1 Jul 25, 2024 Changes in this version + const Name + func New(mo store.MergeOperator, config map[string]interface{}) (store.KVStore, error) + type Iterator struct + func (i *Iterator) Close() error + func (i *Iterator) Current() ([]byte, []byte, bool) + func (i *Iterator) Key() []byte + func (i *Iterator) Next() + func (i *Iterator) Seek(k []byte) + func (i *Iterator) Valid() bool + func (i *Iterator) Value() []byte + type Reader struct + func (r *Reader) Close() error + func (r *Reader) Get(key []byte) ([]byte, error) + func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error) + func (r *Reader) PrefixIterator(prefix []byte) store.KVIterator + func (r *Reader) RangeIterator(start, end []byte) store.KVIterator + type Store struct + func (bs *Store) Close() error + func (bs *Store) Compact() error + func (bs *Store) CompactWithBatchSize(batchSize int) error + func (bs *Store) Reader() (store.KVReader, error) + func (bs *Store) Stats() json.Marshaler + func (bs *Store) Writer() (store.KVWriter, error) + type Writer struct + func (w *Writer) Close() error + func (w *Writer) ExecuteBatch(batch store.KVBatch) (err error) + func (w *Writer) NewBatch() store.KVBatch + func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, store.KVBatch, error)