Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::RDaosObject Class Reference

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

Definition at line 62 of file RDaos.hxx.

Classes

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.
 
 ~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 67 of file RDaos.hxx.

◆ DistributionKey_t

Definition at line 66 of file RDaos.hxx.

Constructor & Destructor Documentation

◆ RDaosObject() [1/2]

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

◆ 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
private

Definition at line 64 of file RDaos.hxx.

  • tree/ntuple/v7/inc/ROOT/RDaos.hxx
  • tree/ntuple/v7/src/RDaos.cxx