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 implements interface HistoryDBProvider
func NewHistoryDBProvider ¶
func NewHistoryDBProvider() *HistoryDBProvider
NewHistoryDBProvider instantiates HistoryDBProvider
func (*HistoryDBProvider) Close ¶
func (provider *HistoryDBProvider) Close()
Close closes the underlying db
func (*HistoryDBProvider) GetDBHandle ¶
func (provider *HistoryDBProvider) GetDBHandle(dbName string) (historydb.HistoryDB, error)
GetDBHandle gets the handle to a named database
type LevelHistoryDBQueryExecutor ¶
type LevelHistoryDBQueryExecutor struct {
// contains filtered or unexported fields
}
LevelHistoryDBQueryExecutor is a query executor against the LevelDB history DB
func (*LevelHistoryDBQueryExecutor) GetHistoryForKey ¶
func (q *LevelHistoryDBQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)
GetHistoryForKey implements method in interface `ledger.HistoryQueryExecutor`
Click to show internal directories.
Click to hide internal directories.