pebble

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PebbleBatch

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

func (*PebbleBatch) Close

func (batch *PebbleBatch) Close()

func (*PebbleBatch) Commit

func (batch *PebbleBatch) Commit() error

func (*PebbleBatch) Del

func (batch *PebbleBatch) Del(key []byte) error

func (*PebbleBatch) Get

func (batch *PebbleBatch) Get(key []byte) ([]byte, error)

func (*PebbleBatch) Iterate

func (batch *PebbleBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error

func (*PebbleBatch) Reset

func (batch *PebbleBatch) Reset()

func (*PebbleBatch) Set

func (batch *PebbleBatch) Set(key []byte, value []byte) error

type PebbleStore

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

func NewPebbleStore

func NewPebbleStore() *PebbleStore

func (*PebbleStore) Close

func (store *PebbleStore) Close() error

func (*PebbleStore) NewBatch

func (store *PebbleStore) NewBatch() engine.Batch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL