Motr
M0
|
#include <client.h>
Data Fields | |
struct m0_entity | in_entity |
struct m0_idx_attr | in_attr |
Index is an ordered key-value store.
A record is a key-value pair. A new record can be inserted in an index, record with a given key can be looked for, updated or deleted.
An index can be iterated starting from a given key. Keys are ordered in the lexicographical order of their bit-representations.
Entity identifier in_entity::en_id format depends on index service type. M0_IDX_MOCK and M0_IDX_CASS services accept arbitrary identifiers. M0_IDX_DIX service supports two types of indices: