Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Internal::ROnDiskPageMapHeap Class Reference

An ROnDiskPageMap that is used for an fMemory allocated as an array of unsigned char.

Definition at line 125 of file RCluster.hxx.

Public Member Functions

 ROnDiskPageMapHeap (const ROnDiskPageMapHeap &other)=delete
 ROnDiskPageMapHeap (ROnDiskPageMapHeap &&other)=default
 ROnDiskPageMapHeap (std::unique_ptr< unsigned char[]> memory)
 ~ROnDiskPageMapHeap () override
ROnDiskPageMapHeapoperator= (const ROnDiskPageMapHeap &other)=delete
ROnDiskPageMapHeapoperator= (ROnDiskPageMapHeap &&other)=default
void Register (const ROnDiskPage::Key &key, const ROnDiskPage &onDiskPage)
 Inserts information about a page stored in fMemory.

Private Attributes

std::unique_ptr< unsigned char[]> fMemory
 The memory region containing the on-disk pages.
std::unordered_map< ROnDiskPage::Key, ROnDiskPagefOnDiskPages

#include <ROOT/RCluster.hxx>

Inheritance diagram for ROOT::Internal::ROnDiskPageMapHeap:
ROOT::Internal::ROnDiskPageMap

Constructor & Destructor Documentation

◆ ROnDiskPageMapHeap() [1/3]

ROOT::Internal::ROnDiskPageMapHeap::ROnDiskPageMapHeap ( std::unique_ptr< unsigned char[]> memory)
inlineexplicit

Definition at line 130 of file RCluster.hxx.

◆ ROnDiskPageMapHeap() [2/3]

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

◆ ROnDiskPageMapHeap() [3/3]

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

◆ ~ROnDiskPageMapHeap()

ROOT::Internal::ROnDiskPageMapHeap::~ROnDiskPageMapHeap ( )
overridedefault

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Register()

void ROOT::Internal::ROnDiskPageMap::Register ( const ROnDiskPage::Key & key,
const ROnDiskPage & onDiskPage )
inlineinherited

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.

Member Data Documentation

◆ fMemory

std::unique_ptr<unsigned char []> ROOT::Internal::ROnDiskPageMapHeap::fMemory
private

The memory region containing the on-disk pages.

Definition at line 128 of file RCluster.hxx.

◆ fOnDiskPages

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

Definition at line 102 of file RCluster.hxx.


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