Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Internal::ROnDiskPage Class Reference

A page as being stored on disk, that is packed and compressed.

Used by the cluster pool to cache pages from the physical storage. Such pages generally need to be uncompressed and unpacked before they can be used by RNTuple upper layers.

Definition at line 40 of file RCluster.hxx.

Classes

struct  Key
 On-disk pages within a page source are identified by the column and page number. More...

Public Member Functions

 ROnDiskPage ()=default
 ROnDiskPage (void *address, std::uint32_t size)
const void * GetAddress () const
std::uint32_t GetSize () const
bool IsNull () const

Private Attributes

const void * fAddress = nullptr
 The memory location of the bytes.
std::uint32_t fSize = 0
 The compressed and packed size of the page. This includes both payload and checksum (if present).

#include <ROOT/RCluster.hxx>

Constructor & Destructor Documentation

◆ ROnDiskPage() [1/2]

ROOT::Internal::ROnDiskPage::ROnDiskPage ( )
default

◆ ROnDiskPage() [2/2]

ROOT::Internal::ROnDiskPage::ROnDiskPage ( void * address,
std::uint32_t size )
inline

Definition at line 60 of file RCluster.hxx.

Member Function Documentation

◆ GetAddress()

const void * ROOT::Internal::ROnDiskPage::GetAddress ( ) const
inline

Definition at line 62 of file RCluster.hxx.

◆ GetSize()

std::uint32_t ROOT::Internal::ROnDiskPage::GetSize ( ) const
inline

Definition at line 63 of file RCluster.hxx.

◆ IsNull()

bool ROOT::Internal::ROnDiskPage::IsNull ( ) const
inline

Definition at line 65 of file RCluster.hxx.

Member Data Documentation

◆ fAddress

const void* ROOT::Internal::ROnDiskPage::fAddress = nullptr
private

The memory location of the bytes.

Definition at line 43 of file RCluster.hxx.

◆ fSize

std::uint32_t ROOT::Internal::ROnDiskPage::fSize = 0
private

The compressed and packed size of the page. This includes both payload and checksum (if present).

Definition at line 45 of file RCluster.hxx.


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