Crate kvdb

source · []
Expand description

Key-Value store abstraction.

Structs

Write transaction. Batches a sequence of put/delete operations for efficiency.

Statistic for the span period

Enums

Database operation.

Statistic kind to query.

Constants

Required length of prefixes.

Traits

Generic key-value database.

Functions

For a given start prefix (inclusive), returns the correct end prefix (non-inclusive). This assumes the key bytes are ordered in lexicographical order. Since key length is not limited, for some case we return None because there is no bounded limit (every keys in the serie [], [255], [255, 255] …).

Type Definitions

Database keys.

Database value.