Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns Class Reference

Keeps track of the requested physical column IDs and their in-memory target type via a column element identifier.

When using alias columns (projected fields), physical columns may be requested multiple times.

Definition at line 647 of file RPageStorage.hxx.

Classes

struct  RColumnInfo
 

Public Member Functions

void Erase (DescriptorId_t physicalColumnId, RColumnElementBase::RIdentifier elementId)
 
const std::vector< RColumnInfo > & GetColumnInfos (DescriptorId_t physicalColumnId) const
 
bool HasColumnInfos (DescriptorId_t physicalColumnId) const
 
void Insert (DescriptorId_t physicalColumnId, RColumnElementBase::RIdentifier elementId)
 
RCluster::ColumnSet_t ToColumnSet () const
 

Private Attributes

std::unordered_map< DescriptorId_t, std::vector< RColumnInfo > > fColumnInfos
 Maps physical column IDs to all the requested in-memory representations.
 

#include <ROOT/RPageStorage.hxx>

Member Function Documentation

◆ Erase()

void ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::Erase ( DescriptorId_t  physicalColumnId,
RColumnElementBase::RIdentifier  elementId 
)

Definition at line 100 of file RPageStorage.cxx.

◆ GetColumnInfos()

const std::vector< RColumnInfo > & ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::GetColumnInfos ( DescriptorId_t  physicalColumnId) const
inline

Definition at line 667 of file RPageStorage.hxx.

◆ HasColumnInfos()

bool ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::HasColumnInfos ( DescriptorId_t  physicalColumnId) const
inline

Definition at line 666 of file RPageStorage.hxx.

◆ Insert()

void ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::Insert ( DescriptorId_t  physicalColumnId,
RColumnElementBase::RIdentifier  elementId 
)

Definition at line 87 of file RPageStorage.cxx.

◆ ToColumnSet()

ROOT::Experimental::Internal::RCluster::ColumnSet_t ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::ToColumnSet ( ) const

Definition at line 121 of file RPageStorage.cxx.

Member Data Documentation

◆ fColumnInfos

std::unordered_map<DescriptorId_t, std::vector<RColumnInfo> > ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns::fColumnInfos
private

Maps physical column IDs to all the requested in-memory representations.

A pair of physical column ID and in-memory representation can be requested multiple times, which is indicated by the reference counter. We can only have a handful of possible in-memory representations for a given column, so it is fine to search them linearly.

Definition at line 660 of file RPageStorage.hxx.

Libraries for ROOT::Experimental::Internal::RPageSource::RActivePhysicalColumns:

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