Versions in this module Expand all Collapse all v0 v0.2.0 Apr 8, 2016 v0.1.0 Apr 8, 2016 Changes in this version + func MultiGet(kvreader KVReader, keys [][]byte) ([][]byte, error) + type EmulatedBatch struct + Merger *EmulatedMerge + Ops []*op + func NewEmulatedBatch(mo MergeOperator) *EmulatedBatch + func (b *EmulatedBatch) Close() error + func (b *EmulatedBatch) Delete(key []byte) + func (b *EmulatedBatch) Merge(key, val []byte) + func (b *EmulatedBatch) Reset() + func (b *EmulatedBatch) Set(key, val []byte) + type EmulatedMerge struct + Merges map[string][][]byte + func NewEmulatedMerge(mo MergeOperator) *EmulatedMerge + func (m *EmulatedMerge) Merge(key, val []byte) + type KVBatch interface + Close func() error + Delete func(key []byte) + Merge func(key, val []byte) + Reset func() + Set func(key, val []byte) + type KVBatchOptions struct + NumDeletes int + NumMerges int + NumSets int + TotalBytes int + type KVIterator interface + Close func() error + Current func() ([]byte, []byte, bool) + Key func() []byte + Next func() + Seek func(key []byte) + Valid func() bool + Value func() []byte + type KVReader interface + Close func() error + Get func(key []byte) ([]byte, error) + MultiGet func(keys [][]byte) ([][]byte, error) + PrefixIterator func(prefix []byte) KVIterator + RangeIterator func(start, end []byte) KVIterator + type KVStore interface + Close func() error + Reader func() (KVReader, error) + Writer func() (KVWriter, error) + type KVStoreStats interface + Stats func() json.Marshaler + StatsMap func() map[string]interface{} + type KVWriter interface + Close func() error + ExecuteBatch func(batch KVBatch) error + NewBatch func() KVBatch + NewBatchEx func(KVBatchOptions) ([]byte, KVBatch, error) + type MergeOperator interface + FullMerge func(key, existingValue []byte, operands [][]byte) ([]byte, bool) + Name func() string + PartialMerge func(key, leftOperand, rightOperand []byte) ([]byte, bool)