Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::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 103 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::Internal::ROnDiskPageMap:
[legend]

Constructor & Destructor Documentation

◆ ROnDiskPageMap() [1/3]

ROOT::Experimental::Internal::ROnDiskPageMap::ROnDiskPageMap ( )
default

◆ ROnDiskPageMap() [2/3]

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

◆ ROnDiskPageMap() [3/3]

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

◆ ~ROnDiskPageMap()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Register()

void ROOT::Experimental::Internal::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 120 of file RCluster.hxx.

Friends And Related Symbol Documentation

◆ RCluster

friend class RCluster
friend

Definition at line 104 of file RCluster.hxx.

Member Data Documentation

◆ fOnDiskPages

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

Definition at line 107 of file RCluster.hxx.

Libraries for ROOT::Experimental::Internal::ROnDiskPageMap:

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