historyleveldb

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryDBProvider

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

HistoryDBProvider实现接口HistoryDBProvider

func NewHistoryDBProvider

func NewHistoryDBProvider() *HistoryDBProvider

NewHistoryDBProvider实例化HistoryDBProvider

func (*HistoryDBProvider) Close

func (provider *HistoryDBProvider) Close()

关闭关闭基础数据库

func (*HistoryDBProvider) GetDBHandle

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

getdbhandle获取命名数据库的句柄

type LevelHistoryDBQueryExecutor

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

LevelHistoryDBQueryExecutor是针对LevelDB历史数据库的查询执行器

func (*LevelHistoryDBQueryExecutor) GetHistoryForKey

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

getHistoryForkey在接口“ledger.historyQueryExecutor”中实现方法

Jump to

Keyboard shortcuts

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