Motr  M0
m0_idx Struct Reference

#include <client.h>

Collaboration diagram for m0_idx:
Collaboration graph

Data Fields

struct m0_entity in_entity
 
struct m0_idx_attr in_attr
 

Detailed Description

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:

  • distributed index, which is identified by well-formed motr fid having m0_dix_fid_type type.
  • non-distributed index, which is identified by well-formed motr fid having m0_cas_index_fid_type type.

Definition at line 835 of file client.h.


The documentation for this struct was generated from the following file: