cosmos-sdk: github.com/cosmos/cosmos-sdk/store/dbadapter Index | Files

package dbadapter

import "github.com/cosmos/cosmos-sdk/store/dbadapter"

Index

Package Files

store.go

type Store Uses

type Store struct {
    dbm.DB
}

Wrapper type for dbm.Db with implementation of KVStore

func (Store) CacheWrap Uses

func (dsa Store) CacheWrap() types.CacheWrap

CacheWrap cache wraps the underlying store.

func (Store) CacheWrapWithTrace Uses

func (dsa Store) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap

CacheWrapWithTrace implements KVStore.

func (Store) Delete Uses

func (dsa Store) Delete(key []byte)

Delete wraps the underlying DB's Delete method panicing on error.

func (Store) Get Uses

func (dsa Store) Get(key []byte) []byte

Get wraps the underlying DB's Get method panicing on error.

func (Store) GetStoreType Uses

func (Store) GetStoreType() types.StoreType

GetStoreType returns the type of the store.

func (Store) Has Uses

func (dsa Store) Has(key []byte) bool

Has wraps the underlying DB's Has method panicing on error.

func (Store) Iterator Uses

func (dsa Store) Iterator(start, end []byte) types.Iterator

Iterator wraps the underlying DB's Iterator method panicing on error.

func (Store) ReverseIterator Uses

func (dsa Store) ReverseIterator(start, end []byte) types.Iterator

ReverseIterator wraps the underlying DB's ReverseIterator method panicing on error.

func (Store) Set Uses

func (dsa Store) Set(key, value []byte)

Set wraps the underlying DB's Set method panicing on error.

Package dbadapter imports 5 packages (graph) and is imported by 9 packages. Updated 2020-03-23. Refresh now. Tools for package owners.