Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + func ValidateRangeMetadata(metadata map[string]interface{}) error + type BulkOptimizable interface + ClearCachedVersions func() + GetCachedVersion func(namespace, key string) (*version.Height, bool) + LoadCommittedVersions func(keys []*CompositeKey) error + type CompositeKey struct + Key string + Namespace string + type IndexCapable interface + GetDBType func() string + ProcessIndexesForChaincodeDeploy func(namespace string, fileEntries []*ccprovider.TarFileEntry) error + type QueryResult interface + type QueryResultsIterator interface + GetBookmarkAndClose func() string + type ResultsIterator interface + Close func() + Next func() (QueryResult, error) + type UpdateBatch struct + func NewUpdateBatch() *UpdateBatch + func (batch *UpdateBatch) Delete(ns string, key string, version *version.Height) + func (batch *UpdateBatch) Exists(ns string, key string) bool + func (batch *UpdateBatch) Get(ns string, key string) *VersionedValue + func (batch *UpdateBatch) GetRangeScanIterator(ns string, startKey string, endKey string) QueryResultsIterator + func (batch *UpdateBatch) GetUpdatedNamespaces() []string + func (batch *UpdateBatch) GetUpdates(ns string) map[string]*VersionedValue + func (batch *UpdateBatch) Put(ns string, key string, value []byte, version *version.Height) + func (batch *UpdateBatch) PutValAndMetadata(ns string, key string, value []byte, metadata []byte, version *version.Height) + func (batch *UpdateBatch) Update(ns string, key string, vv *VersionedValue) + type VersionedDB interface + ApplyUpdates func(batch *UpdateBatch, height *version.Height) error + BytesKeySupported func() bool + Close func() + ExecuteQuery func(namespace, query string) (ResultsIterator, error) + ExecuteQueryWithMetadata func(namespace, query string, metadata map[string]interface{}) (QueryResultsIterator, error) + GetLatestSavePoint func() (*version.Height, error) + GetState func(namespace string, key string) (*VersionedValue, error) + GetStateMultipleKeys func(namespace string, keys []string) ([]*VersionedValue, error) + GetStateRangeScanIterator func(namespace string, startKey string, endKey string) (ResultsIterator, error) + GetStateRangeScanIteratorWithMetadata func(namespace string, startKey string, endKey string, ...) (QueryResultsIterator, error) + GetVersion func(namespace string, key string) (*version.Height, error) + Open func() error + ValidateKeyValue func(key string, value []byte) error + type VersionedDBProvider interface + Close func() + GetDBHandle func(id string) (VersionedDB, error) + type VersionedKV struct + type VersionedValue struct + Metadata []byte + Value []byte + Version *version.Height + func (vv *VersionedValue) IsDelete() bool