Expand description
A generic KEY VALue INTerface for abstracting away key-value stores. Used for comparing key-value stores in the keyvalint_bench crate. Different key-value stores will have varying levels of support.
Modules§
- A reference key-value store.
Structs§
- A memory-owning Key.
- A shallow, easy-to-copy reference to a key.
- A KeyValuePair is an owned version of a key-value pair.
- A KeyValueRef is an easy-to-copy version of a key-value pair.
Constants§
- The default key is the zero key.
- The default timestamp is 0.
- The maximum size of a write batch, in bytes.
- The maximum key. This is eleven
0xff
bytes. - The maximum length of a key.
- The maximum length of a value.
- The zero key. This is the empty byte string.
- The recommended size of a table.
Traits§
- A Cursor allows for iterating through data.
- A read-oriented key-value store. KeyValueLoad is a pun on register load.
- A write-oriented key-value store. KeyValueStore is a pun on register store.
- A write batch aggregates writes to be written together.
Functions§
- Compare the bytes lexicographically.
- Compare the keys lexicograhically.