Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::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 42 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::Experimental::Internal::ROnDiskPage::ROnDiskPage ( )
default

◆ ROnDiskPage() [2/2]

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

Definition at line 62 of file RCluster.hxx.

Member Function Documentation

◆ GetAddress()

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

Definition at line 64 of file RCluster.hxx.

◆ GetSize()

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

Definition at line 65 of file RCluster.hxx.

◆ IsNull()

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

Definition at line 67 of file RCluster.hxx.

Member Data Documentation

◆ fAddress

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

The memory location of the bytes.

Definition at line 45 of file RCluster.hxx.

◆ fSize

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

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

Definition at line 47 of file RCluster.hxx.

Libraries for ROOT::Experimental::Internal::ROnDiskPage:

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