# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package mock is a generated GoMock package.
No description provided by the author
# Functions
Drivers returns a list of registered drive names.
FindMessageTypeRecord lookup proto message type based on the partition and path.
No description provided by the author
GetDBSchemaVersion returns the current KV DB schema version.
No description provided by the author
No description provided by the author
IteratorOptionsAfter - returns iterator options from that exclude the start key.
IteratorOptionsFrom - returns iterator options from that includes the start key, if exists.
No description provided by the author
No description provided by the author
No description provided by the author
NewPrimaryIterator creates a new PrimaryIterator by scanning the store for the given prefix under the partitionKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Open lookup driver by 'type' and return store based on the configuration.
Register 'driver' implementation under 'name'.
RegisterType - Register a pb message type to parse the data, according to a path regex All objects which match the path regex will be parsed as that type A nil type parses the value as a plain string.
ScanPrefix returns an iterator on store that scan the set of keys that start with prefix after is the full key name for which to start the scan from.
SetDBSchemaVersion sets KV DB schema version.
No description provided by the author
No description provided by the author
UnregisterAllDrivers remove all loaded drivers, used for test code.
No description provided by the author
# Constants
KV Schema versions.
KV Schema versions.
KV Schema versions.
KV Schema versions.
No description provided by the author
KV Schema versions.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrecondConditionalExists Conditional for SetIf which performs Set only if key already exists in store.
# Structs
No description provided by the author
Entry holds a pair of key/value.
No description provided by the author
No description provided by the author
PartitionIterator Used to scan through a whole partition.
No description provided by the author
PrimaryIterator MessageIterator implementation for primary key The iterator iterates over the given prefix and returns the proto message and key.
No description provided by the author
No description provided by the author
message data model for secondary index.
SecondaryIterator MessageIterator implementation for secondary key The iterator iterates over the given prefix, extracts the primary key value from secondary key and then returns the proto message and primary key.
SkipFirstIterator will keep the behaviour of the given EntriesIterator, except for skipping the first Entry if its Key is equal to 'after'.
No description provided by the author
StoreMetricsWrapper wraps any Store with metrics.
ValueWithPredicate value with predicate - Value holds the data and Predicate a value used for conditional set.
# Interfaces
Driver is the interface to access a kv database as a Store.
EntriesIterator used to enumerate over Scan results.
IteratorOptions are the starting point options for PrimaryIterator.
No description provided by the author
No description provided by the author
Predicate value used to update a key base on a previous fetched value.
No description provided by the author
# Type aliases
Precond Type for special conditionals provided as predicates for the SetIf method.