Skip to main content

Module kv

Module kv 

Source
Expand description

KV engine configuration types.

Key-Value collections use a hash-indexed primary key for O(1) point lookups. Value fields are encoded as Binary Tuples (same codec as strict mode).

Structs§

KvConfig
Configuration for a Key-Value collection.

Enums§

KvTtlPolicy
TTL policy for KV collection key expiration.

Constants§

KV_DEFAULT_INLINE_THRESHOLD
Default inline value threshold in bytes. Values at or below this size are stored directly in the hash entry (no pointer chase).

Functions§

is_valid_kv_key_type
Check whether a column type is valid as a KV primary key.