A helper class for piece-wise construction of an RClusterDescriptor.
The cluster descriptor builder starts from a summary-only cluster descriptor and allows for the piecewise addition of page locations.
Definition at line 1059 of file RNTupleDescriptor.hxx.
Public Member Functions | |
RClusterDescriptorBuilder & | AddExtendedColumnRanges (const RNTupleDescriptor &desc) |
Add column and page ranges for columns created during late model extension missing in this cluster. | |
RClusterDescriptorBuilder & | ClusterId (DescriptorId_t clusterId) |
RResult< void > | CommitColumnRange (DescriptorId_t physicalId, std::uint64_t firstElementIndex, std::uint32_t compressionSettings, const RClusterDescriptor::RPageRange &pageRange) |
RClusterDescriptorBuilder & | FirstEntryIndex (std::uint64_t firstEntryIndex) |
RResult< RClusterDescriptor > | MoveDescriptor () |
Move out the full cluster descriptor including page locations. | |
RClusterDescriptorBuilder & | NEntries (std::uint64_t nEntries) |
Private Attributes | |
RClusterDescriptor | fCluster |
#include <ROOT/RNTupleDescriptor.hxx>
ROOT::Experimental::Internal::RClusterDescriptorBuilder & ROOT::Experimental::Internal::RClusterDescriptorBuilder::AddExtendedColumnRanges | ( | const RNTupleDescriptor & | desc | ) |
Add column and page ranges for columns created during late model extension missing in this cluster.
The locator type for the synthesized page ranges is kTypePageZero
. All the page sources must be able to populate the 'zero' page from such locator. Any call to CommitColumnRange()
should happen before calling this function.
Definition at line 575 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1064 of file RNTupleDescriptor.hxx.
ROOT::Experimental::RResult< void > ROOT::Experimental::Internal::RClusterDescriptorBuilder::CommitColumnRange | ( | DescriptorId_t | physicalId, |
std::uint64_t | firstElementIndex, | ||
std::uint32_t | compressionSettings, | ||
const RClusterDescriptor::RPageRange & | pageRange | ||
) |
Definition at line 556 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1070 of file RNTupleDescriptor.hxx.
ROOT::Experimental::RResult< ROOT::Experimental::RClusterDescriptor > ROOT::Experimental::Internal::RClusterDescriptorBuilder::MoveDescriptor | ( | ) |
Move out the full cluster descriptor including page locations.
Definition at line 633 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1076 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 1061 of file RNTupleDescriptor.hxx.