Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::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 98 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::Internal::ROnDiskPageMap:
ROOT::Internal::ROnDiskPageMapHeap

Constructor & Destructor Documentation

◆ ROnDiskPageMap() [1/3]

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

◆ ROnDiskPageMap() [2/3]

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

◆ ROnDiskPageMap() [3/3]

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

◆ ~ROnDiskPageMap()

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Register()

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

◆ RCluster

friend class RCluster
friend

Definition at line 99 of file RCluster.hxx.

Member Data Documentation

◆ fOnDiskPages

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

Definition at line 102 of file RCluster.hxx.


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