Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVResultsIter ¶
type KVResultsIter struct {
// contains filtered or unexported fields
}
KVResultsIter is a key-value results iterator
func NewKVResultsIter ¶
func NewKVResultsIter(it statedb.ResultsIterator) *KVResultsIter
NewKVResultsIter returns a new KVResultsIter
func (*KVResultsIter) HasNext ¶
func (it *KVResultsIter) HasNext() bool
HasNext returns true if there are more items
func (*KVResultsIter) Next ¶
func (it *KVResultsIter) Next() (*queryresult.KV, error)
Next returns the next item
type QERetrieverProvider ¶
type QERetrieverProvider struct {
// contains filtered or unexported fields
}
QERetrieverProvider is a RetrieverProvider using a QueryExecutor
func NewQERetrieverProvider ¶
func NewQERetrieverProvider(stateDB extstatedb.StateDB) *QERetrieverProvider
NewQERetrieverProvider returns a new state qeRetriever provider
func (*QERetrieverProvider) GetStateRetriever ¶
func (p *QERetrieverProvider) GetStateRetriever() (api.StateRetriever, error)
GetStateRetriever returns the state qeRetriever
type ShimStoreProvider ¶
type ShimStoreProvider struct {
// contains filtered or unexported fields
}
ShimStoreProvider is a RetrieverProvider which uses the chaincode stub to store and retrieve data
func NewShimStoreProvider ¶
func NewShimStoreProvider(stub shim.ChaincodeStubInterface) *ShimStoreProvider
NewShimStoreProvider returns a new ShimStoreProvider
func (*ShimStoreProvider) GetStateRetriever ¶
func (p *ShimStoreProvider) GetStateRetriever() (api.StateRetriever, error)
GetStateRetriever returns the state store
func (*ShimStoreProvider) GetStore ¶
func (p *ShimStoreProvider) GetStore() (api.StateStore, error)
GetStore returns the state store
Click to show internal directories.
Click to hide internal directories.