Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::RClusterDescriptor::RPageInfo Class Reference

Information about a single page in the context of a cluster's page range.

Definition at line 362 of file RNTupleDescriptor.hxx.

Public Member Functions

 RPageInfo ()=default
 RPageInfo (std::uint32_t nElements, const RNTupleLocator &locator, bool hasChecksum)
RNTupleLocatorGetLocator ()
const RNTupleLocatorGetLocator () const
std::uint32_t GetNElements () const
bool HasChecksum () const
bool operator== (const RPageInfo &other) const
void SetHasChecksum (bool hasChecksum)
void SetLocator (const RNTupleLocator &locator)
void SetNElements (std::uint32_t n)

Private Attributes

bool fHasChecksum = false
 If true, the 8 bytes following the serialized page are an xxhash of the on-disk page data.
RNTupleLocator fLocator
 The meaning of fLocator depends on the storage backend.
std::uint32_t fNElements = std::uint32_t(-1)
 The sum of the elements of all the pages must match the corresponding fNElements field in fColumnRanges.
Inheritance diagram for ROOT::RClusterDescriptor::RPageInfo:
ROOT::RClusterDescriptor::RPageInfoExtended

Constructor & Destructor Documentation

◆ RPageInfo() [1/2]

ROOT::RClusterDescriptor::RPageInfo::RPageInfo ( )
default

◆ RPageInfo() [2/2]

ROOT::RClusterDescriptor::RPageInfo::RPageInfo ( std::uint32_t nElements,
const RNTupleLocator & locator,
bool hasChecksum )
inline

Definition at line 373 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetLocator() [1/2]

RNTupleLocator & ROOT::RClusterDescriptor::RPageInfo::GetLocator ( )
inline

Definition at line 384 of file RNTupleDescriptor.hxx.

◆ GetLocator() [2/2]

const RNTupleLocator & ROOT::RClusterDescriptor::RPageInfo::GetLocator ( ) const
inline

Definition at line 383 of file RNTupleDescriptor.hxx.

◆ GetNElements()

std::uint32_t ROOT::RClusterDescriptor::RPageInfo::GetNElements ( ) const
inline

Definition at line 387 of file RNTupleDescriptor.hxx.

◆ HasChecksum()

bool ROOT::RClusterDescriptor::RPageInfo::HasChecksum ( ) const
inline

Definition at line 390 of file RNTupleDescriptor.hxx.

◆ operator==()

bool ROOT::RClusterDescriptor::RPageInfo::operator== ( const RPageInfo & other) const
inline

Definition at line 378 of file RNTupleDescriptor.hxx.

◆ SetHasChecksum()

void ROOT::RClusterDescriptor::RPageInfo::SetHasChecksum ( bool hasChecksum)
inline

Definition at line 391 of file RNTupleDescriptor.hxx.

◆ SetLocator()

void ROOT::RClusterDescriptor::RPageInfo::SetLocator ( const RNTupleLocator & locator)
inline

Definition at line 385 of file RNTupleDescriptor.hxx.

◆ SetNElements()

void ROOT::RClusterDescriptor::RPageInfo::SetNElements ( std::uint32_t n)
inline

Definition at line 388 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fHasChecksum

bool ROOT::RClusterDescriptor::RPageInfo::fHasChecksum = false
private

If true, the 8 bytes following the serialized page are an xxhash of the on-disk page data.

Definition at line 369 of file RNTupleDescriptor.hxx.

◆ fLocator

RNTupleLocator ROOT::RClusterDescriptor::RPageInfo::fLocator
private

The meaning of fLocator depends on the storage backend.

Definition at line 365 of file RNTupleDescriptor.hxx.

◆ fNElements

std::uint32_t ROOT::RClusterDescriptor::RPageInfo::fNElements = std::uint32_t(-1)
private

The sum of the elements of all the pages must match the corresponding fNElements field in fColumnRanges.

Definition at line 367 of file RNTupleDescriptor.hxx.