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

Additional information about a page in an in-memory RPageRange.

Used by RPageRange::Find() to return information relative to the RPageRange. This information is not stored on disk and we don't need to keep it in memory because it can be easily recomputed.

Definition at line 404 of file RNTupleDescriptor.hxx.

Public Member Functions

 RPageInfoExtended ()=default
 RPageInfoExtended (const RPageInfo &pageInfo, ROOT::NTupleSize_t firstElementIndex, ROOT::NTupleSize_t pageNumber)
ROOT::NTupleSize_t GetFirstElementIndex () const
RNTupleLocatorGetLocator ()
const RNTupleLocatorGetLocator () const
std::uint32_t GetNElements () const
ROOT::NTupleSize_t GetPageNumber () const
bool HasChecksum () const
bool operator== (const RPageInfo &other) const
void SetFirstElementIndex (ROOT::NTupleSize_t firstInPage)
void SetHasChecksum (bool hasChecksum)
void SetLocator (const RNTupleLocator &locator)
void SetNElements (std::uint32_t n)
void SetPageNumber (ROOT::NTupleSize_t pageNumber)

Private Attributes

ROOT::NTupleSize_t fFirstElementIndex = 0
 Index (in cluster) of the first element in page.
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.
ROOT::NTupleSize_t fPageNumber = 0
 Page number in the corresponding RPageRange.

#include <ROOT/RNTupleDescriptor.hxx>

Inheritance diagram for ROOT::RClusterDescriptor::RPageInfoExtended:
ROOT::RClusterDescriptor::RPageInfo

Constructor & Destructor Documentation

◆ RPageInfoExtended() [1/2]

ROOT::RClusterDescriptor::RPageInfoExtended::RPageInfoExtended ( )
default

◆ RPageInfoExtended() [2/2]

ROOT::RClusterDescriptor::RPageInfoExtended::RPageInfoExtended ( const RPageInfo & pageInfo,
ROOT::NTupleSize_t firstElementIndex,
ROOT::NTupleSize_t pageNumber )
inline

Definition at line 413 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetFirstElementIndex()

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::GetFirstElementIndex ( ) const
inline

Definition at line 418 of file RNTupleDescriptor.hxx.

◆ GetLocator() [1/2]

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

Definition at line 384 of file RNTupleDescriptor.hxx.

◆ GetLocator() [2/2]

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

Definition at line 383 of file RNTupleDescriptor.hxx.

◆ GetNElements()

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

Definition at line 387 of file RNTupleDescriptor.hxx.

◆ GetPageNumber()

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::GetPageNumber ( ) const
inline

Definition at line 421 of file RNTupleDescriptor.hxx.

◆ HasChecksum()

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

Definition at line 390 of file RNTupleDescriptor.hxx.

◆ operator==()

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

Definition at line 378 of file RNTupleDescriptor.hxx.

◆ SetFirstElementIndex()

void ROOT::RClusterDescriptor::RPageInfoExtended::SetFirstElementIndex ( ROOT::NTupleSize_t firstInPage)
inline

Definition at line 419 of file RNTupleDescriptor.hxx.

◆ SetHasChecksum()

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

Definition at line 391 of file RNTupleDescriptor.hxx.

◆ SetLocator()

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

Definition at line 385 of file RNTupleDescriptor.hxx.

◆ SetNElements()

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

Definition at line 388 of file RNTupleDescriptor.hxx.

◆ SetPageNumber()

void ROOT::RClusterDescriptor::RPageInfoExtended::SetPageNumber ( ROOT::NTupleSize_t pageNumber)
inline

Definition at line 422 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFirstElementIndex

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::fFirstElementIndex = 0
private

Index (in cluster) of the first element in page.

Definition at line 407 of file RNTupleDescriptor.hxx.

◆ fHasChecksum

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

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
privateinherited

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)
privateinherited

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.

◆ fPageNumber

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::fPageNumber = 0
private

Page number in the corresponding RPageRange.

Definition at line 409 of file RNTupleDescriptor.hxx.


The documentation for this class was generated from the following file: