DAOS API: daos_recx_t Struct Reference

| DAOS API (v2.1 - dev)

Loading...
Searching...
No Matches
daos_recx_t Struct Reference

`#include <daos_obj.h>`

## Data Fields
uint64_t | rx_idx
uint64_t | rx_nr

## Detailed Description

Record

A record is an atomic blob of arbitrary length which is always fetched/updated as a whole. The size of a record can change over time. A record is uniquely identified by the following composite key:

- the distribution key (aka dkey) denotes a set of arrays co-located on the same storage targets. The dkey has an arbitrary size.
- the attribute key (aka akey) distinguishes individual arrays. Likewise, the akey has a arbitrary size.
- the index within an array discriminates individual records. The index is an integer that ranges from zero to infinity. A range of indices identifies a contiguous set of records called extent. All records inside an extent must have the same size. A record extent is a range of contiguous records of the same size inside an array. rx_idx is the first array index of the extent and rx_nr is the number of records covered by the extent.

Definition at line 337 of file daos_obj.h.

## Field Documentation

## ◆ rx_idx

uint64_t rx_idx

Indice of the first record in the extent

Definition at line 339 of file daos_obj.h.

## ◆ rx_nr

uint64_t rx_nr

Number of contiguous records in the extent If rx_nr is equal to 1, the extent is composed of a single record at indice rx_idx

Definition at line 345 of file daos_obj.h.

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

- src/include/daos_obj.h