Back to godoc.org

Package bigkv

v0.0.1
Latest Go to latest

The latest major version is .

Published: Jun 23, 2020 | License: Apache-2.0 | Module: github.com/dfuse-io/kvdb

Index

func NewStore

func NewStore(dsnString string, opts ...store.Option) (store.KVStore, error)

NewStore supports bigkt://project.instance/tableName?createTable=true

type Store

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

func (*Store) BatchGet

func (s *Store) BatchGet(ctx context.Context, keys [][]byte) *store.Iterator

func (*Store) BatchPrefix

func (s *Store) BatchPrefix(ctx context.Context, prefixes [][]byte, limit int) *store.Iterator

func (*Store) Close

func (s *Store) Close() error

func (*Store) FlushPuts

func (s *Store) FlushPuts(ctx context.Context) error

func (*Store) Get

func (s *Store) Get(ctx context.Context, key []byte) (value []byte, err error)

func (*Store) Prefix

func (s *Store) Prefix(ctx context.Context, prefix []byte, limit int) *store.Iterator

func (*Store) Put

func (s *Store) Put(ctx context.Context, key, value []byte) (err error)

func (*Store) Scan

func (s *Store) Scan(ctx context.Context, start, exclusiveEnd []byte, limit int) *store.Iterator

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier