Logo ROOT  
Reference Guide
ROOT::Experimental::RNTupleDescriptorBuilder Class Reference

A helper class for piece-wise construction of an RNTupleDescriptor.

Used by RPageStorage implementations in order to construct the RNTupleDescriptor from the various header parts.

Definition at line 480 of file RNTupleDescriptor.hxx.

Public Member Functions

void AddCluster (DescriptorId_t clusterId, RNTupleVersion version, NTupleSize_t firstEntryIndex, ClusterSize_t nEntries)
 
void AddClusterColumnRange (DescriptorId_t clusterId, const RClusterDescriptor::RColumnRange &columnRange)
 
void AddClusterPageRange (DescriptorId_t clusterId, RClusterDescriptor::RPageRange &&pageRange)
 
void AddClustersFromFooter (void *footerBuffer)
 
void AddColumn (DescriptorId_t columnId, DescriptorId_t fieldId, const RNTupleVersion &version, const RColumnModel &model, std::uint32_t index)
 
void AddField (DescriptorId_t fieldId, const RNTupleVersion &fieldVersion, const RNTupleVersion &typeVersion, std::string_view fieldName, std::string_view typeName, std::uint64_t nRepetitions, ENTupleStructure structure)
 
void AddFieldLink (DescriptorId_t fieldId, DescriptorId_t linkId)
 
const RNTupleDescriptorGetDescriptor () const
 
bool IsValid () const
 
RNTupleDescriptor MoveDescriptor ()
 
void SetClusterLocator (DescriptorId_t clusterId, RClusterDescriptor::RLocator locator)
 
void SetFromHeader (void *headerBuffer)
 
void SetNTuple (const std::string_view name, const std::string_view description, const std::string_view author, const RNTupleVersion &version, const RNTupleUuid &uuid)
 

Private Attributes

RNTupleDescriptor fDescriptor
 

#include <ROOT/RNTupleDescriptor.hxx>

Member Function Documentation

◆ AddCluster()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddCluster ( DescriptorId_t  clusterId,
RNTupleVersion  version,
NTupleSize_t  firstEntryIndex,
ClusterSize_t  nEntries 
)

Definition at line 928 of file RNTupleDescriptor.cxx.

◆ AddClusterColumnRange()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClusterColumnRange ( DescriptorId_t  clusterId,
const RClusterDescriptor::RColumnRange columnRange 
)

Definition at line 945 of file RNTupleDescriptor.cxx.

◆ AddClusterPageRange()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClusterPageRange ( DescriptorId_t  clusterId,
RClusterDescriptor::RPageRange &&  pageRange 
)

Definition at line 951 of file RNTupleDescriptor.cxx.

◆ AddClustersFromFooter()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClustersFromFooter ( void footerBuffer)

Definition at line 822 of file RNTupleDescriptor.cxx.

◆ AddColumn()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddColumn ( DescriptorId_t  columnId,
DescriptorId_t  fieldId,
const RNTupleVersion version,
const RColumnModel model,
std::uint32_t  index 
)

Definition at line 915 of file RNTupleDescriptor.cxx.

◆ AddField()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddField ( DescriptorId_t  fieldId,
const RNTupleVersion fieldVersion,
const RNTupleVersion typeVersion,
std::string_view  fieldName,
std::string_view  typeName,
std::uint64_t  nRepetitions,
ENTupleStructure  structure 
)

Definition at line 893 of file RNTupleDescriptor.cxx.

◆ AddFieldLink()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddFieldLink ( DescriptorId_t  fieldId,
DescriptorId_t  linkId 
)

Definition at line 908 of file RNTupleDescriptor.cxx.

◆ GetDescriptor()

const RNTupleDescriptor& ROOT::Experimental::RNTupleDescriptorBuilder::GetDescriptor ( ) const
inline

Definition at line 486 of file RNTupleDescriptor.hxx.

◆ IsValid()

bool ROOT::Experimental::RNTupleDescriptorBuilder::IsValid ( ) const
inline

Definition at line 485 of file RNTupleDescriptor.hxx.

◆ MoveDescriptor()

ROOT::Experimental::RNTupleDescriptor ROOT::Experimental::RNTupleDescriptorBuilder::MoveDescriptor ( )

Definition at line 746 of file RNTupleDescriptor.cxx.

◆ SetClusterLocator()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetClusterLocator ( DescriptorId_t  clusterId,
RClusterDescriptor::RLocator  locator 
)

Definition at line 939 of file RNTupleDescriptor.cxx.

◆ SetFromHeader()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetFromHeader ( void headerBuffer)

Definition at line 753 of file RNTupleDescriptor.cxx.

◆ SetNTuple()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetNTuple ( const std::string_view  name,
const std::string_view  description,
const std::string_view  author,
const RNTupleVersion version,
const RNTupleUuid uuid 
)

Definition at line 881 of file RNTupleDescriptor.cxx.

Member Data Documentation

◆ fDescriptor

RNTupleDescriptor ROOT::Experimental::RNTupleDescriptorBuilder::fDescriptor
private

Definition at line 482 of file RNTupleDescriptor.hxx.


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