Summarizes information about fields and the corresponding columns that were added after the header has been serialized.
Definition at line 966 of file RNTupleDescriptor.hxx.
Public Member Functions | |
const std::vector< DescriptorId_t > & | GetExtendedColumnRepresentations () const |
std::size_t | GetNFields () const |
std::size_t | GetNLogicalColumns () const |
std::size_t | GetNPhysicalColumns () const |
std::vector< DescriptorId_t > | GetTopLevelFields (const RNTupleDescriptor &desc) const |
Return a vector containing the IDs of the top-level fields defined in the extension header, in the order of their addition. | |
Private Member Functions | |
void | AddExtendedColumn (const RColumnDescriptor &columnDesc) |
void | AddExtendedField (const RFieldDescriptor &fieldDesc) |
Private Attributes | |
std::vector< DescriptorId_t > | fExtendedColumnRepresentations |
All logical column IDs of columns that extend, with additional column representations, fields of the regular header. | |
std::unordered_set< DescriptorId_t > | fFieldIdsLookup |
All field IDs of late model extensions for efficient lookup. | |
std::vector< DescriptorId_t > | fFieldIdsOrder |
All field IDs of late model extensions, in the order of field addition. | |
std::uint32_t | fNLogicalColumns = 0 |
Number of logical and physical columns; updated by the descriptor builder when columns are added. | |
std::uint32_t | fNPhysicalColumns = 0 |
Friends | |
class | Internal::RNTupleDescriptorBuilder |
#include <ROOT/RNTupleDescriptor.hxx>
|
inlineprivate |
Definition at line 991 of file RNTupleDescriptor.hxx.
|
inlineprivate |
Definition at line 985 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1005 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1002 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1003 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1004 of file RNTupleDescriptor.hxx.
std::vector< ROOT::Experimental::DescriptorId_t > ROOT::Experimental::RNTupleDescriptor::RHeaderExtension::GetTopLevelFields | ( | const RNTupleDescriptor & | desc | ) | const |
Return a vector containing the IDs of the top-level fields defined in the extension header, in the order of their addition.
We cannot create this vector when building the fFields because at the time when AddExtendedField is called, the field is not yet linked into the schema tree.
Definition at line 414 of file RNTupleDescriptor.cxx.
|
friend |
Definition at line 967 of file RNTupleDescriptor.hxx.
|
private |
All logical column IDs of columns that extend, with additional column representations, fields of the regular header.
During serialization, these columns are not picked up as columns of fFieldIdsOrder
. But instead these columns need to be serialized in the extension header without re-serializing the field.
Definition at line 980 of file RNTupleDescriptor.hxx.
|
private |
All field IDs of late model extensions for efficient lookup.
When a column gets added to the extension header, this enables us to determine if the column belongs to a field of the header extension of if it belongs to a field of the regular header that gets extended by additional column representations.
Definition at line 976 of file RNTupleDescriptor.hxx.
|
private |
All field IDs of late model extensions, in the order of field addition.
This is necessary to serialize the the fields in that order.
Definition at line 972 of file RNTupleDescriptor.hxx.
|
private |
Number of logical and physical columns; updated by the descriptor builder when columns are added.
Definition at line 982 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 983 of file RNTupleDescriptor.hxx.