Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::ROnDiskPageMap Class Reference

A memory region that contains packed and compressed pages.

Derived classes implement how the on-disk pages are stored in memory, e.g. mmap'd or in a special area.

Definition at line 104 of file RCluster.hxx.

Public Member Functions

 ROnDiskPageMap ()=default
 
 ROnDiskPageMap (const ROnDiskPageMap &other)=delete
 
 ROnDiskPageMap (ROnDiskPageMap &&other)=default
 
virtual ~ROnDiskPageMap ()
 
ROnDiskPageMapoperator= (const ROnDiskPageMap &other)=delete
 
ROnDiskPageMapoperator= (ROnDiskPageMap &&other)=default
 
void Register (const ROnDiskPage::Key &key, const ROnDiskPage &onDiskPage)
 Inserts information about a page stored in fMemory.
 

Private Attributes

std::unordered_map< ROnDiskPage::Key, ROnDiskPagefOnDiskPages
 

Friends

class RCluster
 

#include <ROOT/RCluster.hxx>

Inheritance diagram for ROOT::Experimental::Detail::ROnDiskPageMap:
[legend]

Constructor & Destructor Documentation

◆ ROnDiskPageMap() [1/3]

ROOT::Experimental::Detail::ROnDiskPageMap::ROnDiskPageMap ( )
default

◆ ROnDiskPageMap() [2/3]

ROOT::Experimental::Detail::ROnDiskPageMap::ROnDiskPageMap ( const ROnDiskPageMap other)
delete

◆ ROnDiskPageMap() [3/3]

ROOT::Experimental::Detail::ROnDiskPageMap::ROnDiskPageMap ( ROnDiskPageMap &&  other)
default

◆ ~ROnDiskPageMap()

ROOT::Experimental::Detail::ROnDiskPageMap::~ROnDiskPageMap ( )
virtualdefault

Member Function Documentation

◆ operator=() [1/2]

ROnDiskPageMap & ROOT::Experimental::Detail::ROnDiskPageMap::operator= ( const ROnDiskPageMap other)
delete

◆ operator=() [2/2]

ROnDiskPageMap & ROOT::Experimental::Detail::ROnDiskPageMap::operator= ( ROnDiskPageMap &&  other)
default

◆ Register()

void ROOT::Experimental::Detail::ROnDiskPageMap::Register ( const ROnDiskPage::Key key,
const ROnDiskPage onDiskPage 
)
inline

Inserts information about a page stored in fMemory.

Therefore, the address referenced by onDiskPage needs to be owned by the page map (see derived classes). If a page map contains a page of a given column, it is expected that all the pages of that column in that cluster are part of the page map.

Definition at line 121 of file RCluster.hxx.

Friends And Related Symbol Documentation

◆ RCluster

friend class RCluster
friend

Definition at line 105 of file RCluster.hxx.

Member Data Documentation

◆ fOnDiskPages

std::unordered_map<ROnDiskPage::Key, ROnDiskPage> ROOT::Experimental::Detail::ROnDiskPageMap::fOnDiskPages
private

Definition at line 108 of file RCluster.hxx.

Libraries for ROOT::Experimental::Detail::ROnDiskPageMap:

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