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 1036 of file RNTupleDescriptor.hxx.
|
void | AddClusterGroup (RClusterGroupDescriptorBuilder &&clusterGroup) |
|
RResult< void > | AddClusterSummary (DescriptorId_t clusterId, std::uint64_t firstEntry, std::uint64_t nEntries) |
|
RResult< void > | AddClusterWithDetails (RClusterDescriptor &&clusterDesc) |
| Used during writing.
|
|
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 |
|
std::uint32_t | GetHeaderCRC32 () const |
|
RNTupleDescriptor | MoveDescriptor () |
|
void | Reset () |
| Clears so-far stored clusters, fields, and columns and return to a pristine ntuple descriptor.
|
|
void | SetHeaderCRC32 (std::uint32_t crc32) |
|
void | SetNTuple (const std::string_view name, const std::string_view description) |
|
void | SetOnDiskHeaderSize (std::uint64_t size) |
|
#include <ROOT/RNTupleDescriptor.hxx>
◆ AddClusterGroup()
◆ AddClusterSummary()
◆ AddClusterWithDetails()
◆ AddColumn() [1/2]
◆ AddColumn() [2/2]
◆ AddField()
void ROOT::Experimental::RNTupleDescriptorBuilder::AddField |
( |
const RFieldDescriptor & |
fieldDesc | ) |
|
◆ AddFieldLink()
◆ AddToOnDiskFooterSize()
void ROOT::Experimental::RNTupleDescriptorBuilder::AddToOnDiskFooterSize |
( |
std::uint64_t |
size | ) |
|
|
inline |
◆ BeginHeaderExtension()
void ROOT::Experimental::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 826 of file RNTupleDescriptor.cxx.
◆ EnsureFieldExists()
◆ EnsureValidDescriptor()
Checks whether invariants hold:
- NTuple name is valid
- Fields have valid parent and child ids
Definition at line 631 of file RNTupleDescriptor.cxx.
◆ GetDescriptor()
const RNTupleDescriptor & ROOT::Experimental::RNTupleDescriptorBuilder::GetDescriptor |
( |
| ) |
const |
|
inline |
◆ GetHeaderCRC32()
std::uint32_t ROOT::Experimental::RNTupleDescriptorBuilder::GetHeaderCRC32 |
( |
| ) |
const |
|
inline |
◆ MoveDescriptor()
◆ Reset()
void ROOT::Experimental::RNTupleDescriptorBuilder::Reset |
( |
| ) |
|
Clears so-far stored clusters, fields, and columns and return to a pristine ntuple descriptor.
Definition at line 815 of file RNTupleDescriptor.cxx.
◆ SetHeaderCRC32()
void ROOT::Experimental::RNTupleDescriptorBuilder::SetHeaderCRC32 |
( |
std::uint32_t |
crc32 | ) |
|
|
inline |
◆ SetNTuple()
void ROOT::Experimental::RNTupleDescriptorBuilder::SetNTuple |
( |
const std::string_view |
name, |
|
|
const std::string_view |
description |
|
) |
| |
◆ SetOnDiskHeaderSize()
void ROOT::Experimental::RNTupleDescriptorBuilder::SetOnDiskHeaderSize |
( |
std::uint64_t |
size | ) |
|
|
inline |
◆ fDescriptor
◆ fHeaderCRC32
std::uint32_t ROOT::Experimental::RNTupleDescriptorBuilder::fHeaderCRC32 = 0 |
|
private |
The documentation for this class was generated from the following files: