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

package test

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

Index

Package Files

bytes.go crud.go isolation.go iterator.go merge.go

func CommonTestKVCrud Uses

func CommonTestKVCrud(t *testing.T, s store.KVStore)

func CommonTestMerge Uses

func CommonTestMerge(t *testing.T, s store.KVStore)

func CommonTestPrefixIterator Uses

func CommonTestPrefixIterator(t *testing.T, s store.KVStore)

func CommonTestPrefixIteratorSeek Uses

func CommonTestPrefixIteratorSeek(t *testing.T, s store.KVStore)

func CommonTestRangeIterator Uses

func CommonTestRangeIterator(t *testing.T, s store.KVStore)

func CommonTestRangeIteratorSeek Uses

func CommonTestRangeIteratorSeek(t *testing.T, s store.KVStore)

func CommonTestReaderIsolation Uses

func CommonTestReaderIsolation(t *testing.T, s store.KVStore)

func CommonTestReaderOwnsGetBytes Uses

func CommonTestReaderOwnsGetBytes(t *testing.T, s store.KVStore)

CommonTestReaderOwnsGetBytes attempts to mutate the returned bytes first, while the reader is still open, second after that reader is closed, then the original key is read again, to ensure these modifications did not cause panic, or mutate the stored value

func CommonTestWriterOwnsBytes Uses

func CommonTestWriterOwnsBytes(t *testing.T, s store.KVStore)

type TestMergeCounter Uses

type TestMergeCounter struct{}

a test merge operator which is just an incrementing counter of uint64

func (*TestMergeCounter) FullMerge Uses

func (mc *TestMergeCounter) FullMerge(key, existingValue []byte, operands [][]byte) ([]byte, bool)

func (*TestMergeCounter) Name Uses

func (mc *TestMergeCounter) Name() string

func (*TestMergeCounter) PartialMerge Uses

func (mc *TestMergeCounter) PartialMerge(key, leftOperand, rightOperand []byte) ([]byte, bool)

Package test imports 7 packages (graph). Updated 2016-10-12. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).