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

Constants

Traits

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.
  • A tuple holding key and value data, used in the iterator item type.
  • Database value.