Meta-data for a set of ntuple clusters.
The cluster descriptor might carry information of only a subset of available clusters, for instance if multiple files are chained and not all of them have been processed yet. Clusters usually span across all available columns but in some cases they can describe only a subset of the columns, for instance when describing friend ntuples.
Definition at line 171 of file RNTupleDescriptor.hxx.
Classes | |
struct | RColumnRange |
The window of element indexes of a particular column in a particular cluster. More... | |
struct | RPageRange |
Records the parition of data into pages for a particular column in a particular cluster. More... | |
Public Member Functions | |
RClusterDescriptor ()=default | |
RClusterDescriptor (const RClusterDescriptor &other)=delete | |
RClusterDescriptor (RClusterDescriptor &&other)=default | |
bool | ContainsColumn (DescriptorId_t columnId) const |
std::uint64_t | GetBytesOnStorage () const |
std::unordered_set< DescriptorId_t > | GetColumnIds () const |
const RColumnRange & | GetColumnRange (DescriptorId_t columnId) const |
NTupleSize_t | GetFirstEntryIndex () const |
DescriptorId_t | GetId () const |
ClusterSize_t | GetNEntries () const |
const RPageRange & | GetPageRange (DescriptorId_t columnId) const |
RNTupleVersion | GetVersion () const |
RClusterDescriptor & | operator= (const RClusterDescriptor &other)=delete |
RClusterDescriptor & | operator= (RClusterDescriptor &&other)=default |
bool | operator== (const RClusterDescriptor &other) const |
Static Public Attributes | |
static constexpr std::uint16_t | kFrameVersionCurrent = 0 |
In order to handle changes to the serialization routine in future ntuple versions. | |
static constexpr std::uint16_t | kFrameVersionMin = 0 |
Private Attributes | |
DescriptorId_t | fClusterId = kInvalidDescriptorId |
std::unordered_map< DescriptorId_t, RColumnRange > | fColumnRanges |
NTupleSize_t | fFirstEntryIndex = kInvalidNTupleIndex |
Clusters can be swapped by adjusting the entry offsets. | |
ClusterSize_t | fNEntries = kInvalidClusterIndex |
std::unordered_map< DescriptorId_t, RPageRange > | fPageRanges |
RNTupleVersion | fVersion |
Future versions of the cluster descriptor might add more meta-data, e.g. a semantic checksum. | |
Friends | |
class | RClusterDescriptorBuilder |
class | RNTupleDescriptorBuilder |
#include <ROOT/RNTupleDescriptor.hxx>
|
default |
|
delete |
|
default |
bool ROOT::Experimental::RClusterDescriptor::ContainsColumn | ( | DescriptorId_t | columnId | ) | const |
Definition at line 492 of file RNTupleDescriptor.cxx.
std::uint64_t ROOT::Experimental::RClusterDescriptor::GetBytesOnStorage | ( | ) | const |
Definition at line 498 of file RNTupleDescriptor.cxx.
std::unordered_set< ROOT::Experimental::DescriptorId_t > ROOT::Experimental::RClusterDescriptor::GetColumnIds | ( | ) | const |
Definition at line 483 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 276 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 274 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 272 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 275 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 277 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 273 of file RNTupleDescriptor.hxx.
|
delete |
|
default |
bool ROOT::Experimental::RClusterDescriptor::operator== | ( | const RClusterDescriptor & | other | ) | const |
Definition at line 472 of file RNTupleDescriptor.cxx.
|
friend |
Definition at line 173 of file RNTupleDescriptor.hxx.
|
friend |
Definition at line 172 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 249 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 256 of file RNTupleDescriptor.hxx.
|
private |
Clusters can be swapped by adjusting the entry offsets.
Definition at line 253 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 254 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 257 of file RNTupleDescriptor.hxx.
|
private |
Future versions of the cluster descriptor might add more meta-data, e.g. a semantic checksum.
Definition at line 251 of file RNTupleDescriptor.hxx.
|
staticconstexpr |
In order to handle changes to the serialization routine in future ntuple versions.
Definition at line 261 of file RNTupleDescriptor.hxx.
|
staticconstexpr |
Definition at line 262 of file RNTupleDescriptor.hxx.