pebble

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package pebble provides a storage binding implementation using the Pebble storage engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PebbleBinding

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

PebbleBinding realizes a storage binding for the Pebble key-value store by implementing the storage API interface api.Api.

func (*PebbleBinding) Close

func (b *PebbleBinding) Close()

Close implements the api.Api interface.

func (*PebbleBinding) Delete

func (b *PebbleBinding) Delete(key string) error

Delete implements the api.Api interface.

func (*PebbleBinding) DeleteAll

func (b *PebbleBinding) DeleteAll() error

DeleteAll implements the api.Api interface.

func (*PebbleBinding) DeleteB added in v0.42.0

func (b *PebbleBinding) DeleteB(key []byte) error

DeleteB implements the api.Api interface.

func (*PebbleBinding) DeletePrefix added in v0.42.0

func (b *PebbleBinding) DeletePrefix(prefix string) error

DeletePrefix implements the api.Api interface.

func (*PebbleBinding) DeletePrefixB added in v0.42.0

func (b *PebbleBinding) DeletePrefixB(prefix []byte) error

DeletePrefixB implements the api.Api interface.

func (*PebbleBinding) DeleteRange

func (b *PebbleBinding) DeleteRange(start, end string) error

DeleteRange implements the api.Api interface.

func (*PebbleBinding) DeleteRangeB added in v0.42.0

func (b *PebbleBinding) DeleteRangeB(start, end []byte) error

DeleteRangeB implements the api.Api interface.

func (*PebbleBinding) Get

func (b *PebbleBinding) Get(key string) ([]byte, error)

Get implements the api.Api interface.

func (*PebbleBinding) GetB added in v0.42.0

func (b *PebbleBinding) GetB(key []byte) ([]byte, error)

GetB implements the api.Api interface.

func (*PebbleBinding) KeyUpperBound added in v0.42.0

func (b *PebbleBinding) KeyUpperBound(key []byte) []byte

KeyUpperBound implements the api.Api interface.

func (*PebbleBinding) Open

func (b *PebbleBinding) Open(cfg *config.Config) error

Open implements the api.Api interface.

func (*PebbleBinding) ScanPrefix

func (b *PebbleBinding) ScanPrefix(prefix string, callback api.ScanKeyValue) error

ScanPrefix implements the api.Api interface.

func (*PebbleBinding) ScanPrefixB added in v0.42.0

func (b *PebbleBinding) ScanPrefixB(prefix []byte, callback api.ScanKeyValueB) error

ScanPrefixB implements the api.Api interface.

func (*PebbleBinding) ScanRange

func (b *PebbleBinding) ScanRange(start, end string, callback api.ScanKeyValue) error

ScanRange implements the api.Api interface.

func (*PebbleBinding) ScanRangeB added in v0.42.0

func (b *PebbleBinding) ScanRangeB(start, end []byte, callback api.ScanKeyValueB) error

ScanRangeB implements the api.Api interface.

func (*PebbleBinding) ScanRangeReverseB added in v0.42.0

func (b *PebbleBinding) ScanRangeReverseB(start, end []byte, callback api.ScanKeyValueB) error

ScanRangeReverseB implements the api.Api interface.

func (*PebbleBinding) Set

func (b *PebbleBinding) Set(key string, value []byte) error

Set implements the api.Api interface.

func (*PebbleBinding) SetB added in v0.42.0

func (b *PebbleBinding) SetB(key []byte, value []byte) error

SetB implements the api.Api interface.

Jump to

Keyboard shortcuts

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