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 1080 of file RNTupleDescriptor.hxx.
Public Member Functions | |
RResult< void > | AddCluster (RClusterDescriptor &&clusterDesc) |
RResult< void > | AddClusterGroup (RClusterGroupDescriptor &&clusterGroup) |
void | AddColumn (DescriptorId_t logicalId, DescriptorId_t physicalId, DescriptorId_t fieldId, const RColumnModel &model, std::uint32_t index, std::uint64_t firstElementIdx=0U) |
RResult< void > | AddColumn (RColumnDescriptor &&columnDesc) |
void | AddField (const RFieldDescriptor &fieldDesc) |
RResult< void > | AddFieldLink (DescriptorId_t fieldId, DescriptorId_t linkId) |
void | AddToOnDiskFooterSize (std::uint64_t size) |
The real footer size also include the page list envelopes. | |
void | BeginHeaderExtension () |
Mark the beginning of the header extension; any fields and columns added after a call to this function are annotated as begin part of the header extension. | |
RResult< void > | EnsureValidDescriptor () const |
Checks whether invariants hold: | |
const RNTupleDescriptor & | GetDescriptor () const |
RNTupleDescriptor | MoveDescriptor () |
void | Reset () |
Clears so-far stored clusters, fields, and columns and return to a pristine ntuple descriptor. | |
void | SetFeature (unsigned int flag) |
void | SetNTuple (const std::string_view name, const std::string_view description) |
void | SetOnDiskHeaderSize (std::uint64_t size) |
void | SetOnDiskHeaderXxHash3 (std::uint64_t xxhash3) |
Private Member Functions | |
RResult< void > | EnsureFieldExists (DescriptorId_t fieldId) const |
Private Attributes | |
RNTupleDescriptor | fDescriptor |
#include <ROOT/RNTupleDescriptor.hxx>
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddCluster | ( | RClusterDescriptor && | clusterDesc | ) |
Definition at line 882 of file RNTupleDescriptor.cxx.
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddClusterGroup | ( | RClusterGroupDescriptor && | clusterGroup | ) |
Definition at line 853 of file RNTupleDescriptor.cxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddColumn | ( | DescriptorId_t | logicalId, |
DescriptorId_t | physicalId, | ||
DescriptorId_t | fieldId, | ||
const RColumnModel & | model, | ||
std::uint32_t | index, | ||
std::uint64_t | firstElementIdx = 0U |
||
) |
Definition at line 801 of file RNTupleDescriptor.cxx.
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddColumn | ( | RColumnDescriptor && | columnDesc | ) |
Definition at line 822 of file RNTupleDescriptor.cxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddField | ( | const RFieldDescriptor & | fieldDesc | ) |
Definition at line 768 of file RNTupleDescriptor.cxx.
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RNTupleDescriptorBuilder::AddFieldLink | ( | DescriptorId_t | fieldId, |
DescriptorId_t | linkId | ||
) |
Definition at line 776 of file RNTupleDescriptor.cxx.
|
inline |
The real footer size also include the page list envelopes.
Definition at line 1098 of file RNTupleDescriptor.hxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::BeginHeaderExtension | ( | ) |
Mark the beginning of the header extension; any fields and columns added after a call to this function are annotated as begin part of the header extension.
Definition at line 875 of file RNTupleDescriptor.cxx.
|
private |
Definition at line 666 of file RNTupleDescriptor.cxx.
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RNTupleDescriptorBuilder::EnsureValidDescriptor | ( | ) | const |
Checks whether invariants hold:
Definition at line 673 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1089 of file RNTupleDescriptor.hxx.
ROOT::Experimental::RNTupleDescriptor ROOT::Experimental::Internal::RNTupleDescriptorBuilder::MoveDescriptor | ( | ) |
Definition at line 692 of file RNTupleDescriptor.cxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::Reset | ( | ) |
Clears so-far stored clusters, fields, and columns and return to a pristine ntuple descriptor.
Definition at line 864 of file RNTupleDescriptor.cxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::SetFeature | ( | unsigned int | flag | ) |
Definition at line 706 of file RNTupleDescriptor.cxx.
void ROOT::Experimental::Internal::RNTupleDescriptorBuilder::SetNTuple | ( | const std::string_view | name, |
const std::string_view | description | ||
) |
Definition at line 699 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1096 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1095 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 1082 of file RNTupleDescriptor.hxx.