fabric: github.com/hyperledger/fabric/core/ledger/kvledger/history/historydb/historyleveldb Index | Files | Directories

package historyleveldb

import "github.com/hyperledger/fabric/core/ledger/kvledger/history/historydb/historyleveldb"

Index

Package Files

historyleveldb.go historyleveldb_query_executer.go

type HistoryDBProvider Uses

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

HistoryDBProvider implements interface HistoryDBProvider

func NewHistoryDBProvider Uses

func NewHistoryDBProvider() *HistoryDBProvider

NewHistoryDBProvider instantiates HistoryDBProvider

func (*HistoryDBProvider) Close Uses

func (provider *HistoryDBProvider) Close()

Close closes the underlying db

func (*HistoryDBProvider) GetDBHandle Uses

func (provider *HistoryDBProvider) GetDBHandle(dbName string) (historydb.HistoryDB, error)

GetDBHandle gets the handle to a named database

type LevelHistoryDBQueryExecutor Uses

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

LevelHistoryDBQueryExecutor is a query executor against the LevelDB history DB

func (*LevelHistoryDBQueryExecutor) GetHistoryForKey Uses

func (q *LevelHistoryDBQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)

GetHistoryForKey implements method in interface `ledger.HistoryQueryExecutor`

Directories

PathSynopsis
fakesCode generated by counterfeiter.

Package historyleveldb imports 16 packages (graph) and is imported by 7 packages. Updated 2019-10-09. Refresh now. Tools for package owners.