Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::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 43 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::size_t size)
 
const voidGetAddress () const
 
std::size_t GetSize () const
 
bool IsNull () const
 

Private Attributes

const voidfAddress = nullptr
 The memory location of the bytes.
 
std::size_t fSize = 0
 The compressed and packed size of the page.
 

#include <ROOT/RCluster.hxx>

Constructor & Destructor Documentation

◆ ROnDiskPage() [1/2]

ROOT::Experimental::Detail::ROnDiskPage::ROnDiskPage ( )
default

◆ ROnDiskPage() [2/2]

ROOT::Experimental::Detail::ROnDiskPage::ROnDiskPage ( void address,
std::size_t  size 
)
inline

Definition at line 63 of file RCluster.hxx.

Member Function Documentation

◆ GetAddress()

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

Definition at line 65 of file RCluster.hxx.

◆ GetSize()

std::size_t ROOT::Experimental::Detail::ROnDiskPage::GetSize ( ) const
inline

Definition at line 66 of file RCluster.hxx.

◆ IsNull()

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

Definition at line 68 of file RCluster.hxx.

Member Data Documentation

◆ fAddress

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

The memory location of the bytes.

Definition at line 46 of file RCluster.hxx.

◆ fSize

std::size_t ROOT::Experimental::Detail::ROnDiskPage::fSize = 0
private

The compressed and packed size of the page.

Definition at line 48 of file RCluster.hxx.

Libraries for ROOT::Experimental::Detail::ROnDiskPage:

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