bleve: github.com/blevesearch/bleve/index/store/gtreap Index | Files

package gtreap

import "github.com/blevesearch/bleve/index/store/gtreap"

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

Package Files

iterator.go reader.go store.go writer.go

Constants

const Name = "gtreap"

func New Uses

func New(mo store.MergeOperator, config map[string]interface{}) (store.KVStore, error)

type Item Uses

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

type Iterator Uses

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

func (*Iterator) Close Uses

func (w *Iterator) Close() error

func (*Iterator) Current Uses

func (w *Iterator) Current() ([]byte, []byte, bool)

func (*Iterator) Key Uses

func (w *Iterator) Key() []byte

func (*Iterator) Next Uses

func (w *Iterator) Next()

func (*Iterator) Seek Uses

func (w *Iterator) Seek(k []byte)

func (*Iterator) Valid Uses

func (w *Iterator) Valid() bool

func (*Iterator) Value Uses

func (w *Iterator) Value() []byte

type Reader Uses

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

func (*Reader) Close Uses

func (w *Reader) Close() error

func (*Reader) Get Uses

func (w *Reader) Get(k []byte) (v []byte, err error)

func (*Reader) MultiGet Uses

func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error)

func (*Reader) PrefixIterator Uses

func (w *Reader) PrefixIterator(k []byte) store.KVIterator

func (*Reader) RangeIterator Uses

func (w *Reader) RangeIterator(start, end []byte) store.KVIterator

type Store Uses

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

func (*Store) Close Uses

func (s *Store) Close() error

func (*Store) Reader Uses

func (s *Store) Reader() (store.KVReader, error)

func (*Store) Writer Uses

func (s *Store) Writer() (store.KVWriter, error)

type Writer Uses

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

func (*Writer) Close Uses

func (w *Writer) Close() error

func (*Writer) ExecuteBatch Uses

func (w *Writer) ExecuteBatch(batch store.KVBatch) error

func (*Writer) NewBatch Uses

func (w *Writer) NewBatch() store.KVBatch

func (*Writer) NewBatchEx Uses

func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, store.KVBatch, error)

Package gtreap imports 8 packages (graph) and is imported by 90 packages. Updated 2018-10-08. Refresh now. Tools for package owners.