Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RDaosObject Class Reference

Provides low-level access to DAOS objects in a container.

Definition at line 61 of file RDaos.hxx.


struct  FetchUpdateArgs
 Contains required information for a single fetch/update operation. More...
struct  ObjClassId
 Wrap around a daos_oclass_id_t. More...

Public Types

using AttributeKey_t = std::uint64_t
using DistributionKey_t = std::uint64_t

Public Member Functions

 RDaosObject ()=delete
 RDaosObject (RDaosContainer &container, daos_obj_id_t oid, ObjClassId cid=OC_UNKNOWN)
 Provides low-level access to an object. More...
 ~RDaosObject ()
int Fetch (FetchUpdateArgs &args)
int Update (FetchUpdateArgs &args)

Private Attributes

daos_handle_t fObjectHandle

#include <ROOT/RDaos.hxx>

Member Typedef Documentation

◆ AttributeKey_t

Definition at line 66 of file RDaos.hxx.

◆ DistributionKey_t

Definition at line 65 of file RDaos.hxx.

Constructor & Destructor Documentation

◆ RDaosObject() [1/2]

ROOT::Experimental::Detail::RDaosObject::RDaosObject ( )

◆ RDaosObject() [2/2]

ROOT::Experimental::Detail::RDaosObject::RDaosObject ( RDaosContainer container,
daos_obj_id_t  oid,
ObjClassId  cid = OC_UNKNOWN 

Provides low-level access to an object.

If cid is OC_UNKNOWN, the user is responsible for calling daos_obj_generate_id() to fill the reserved bits in oid before calling this constructor.

Definition at line 84 of file RDaos.cxx.

◆ ~RDaosObject()

ROOT::Experimental::Detail::RDaosObject::~RDaosObject ( )

Definition at line 93 of file RDaos.cxx.

Member Function Documentation

◆ Fetch()

int ROOT::Experimental::Detail::RDaosObject::Fetch ( FetchUpdateArgs args)

Definition at line 98 of file RDaos.cxx.

◆ Update()

int ROOT::Experimental::Detail::RDaosObject::Update ( FetchUpdateArgs args)

Definition at line 106 of file RDaos.cxx.

Member Data Documentation

◆ fObjectHandle

daos_handle_t ROOT::Experimental::Detail::RDaosObject::fObjectHandle

Definition at line 63 of file RDaos.hxx.

The documentation for this class was generated from the following files: