Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RNTupleColumnReader Class Reference

Every RDF column is represented by exactly one RNTuple field.

Definition at line 102 of file RNTupleDS.cxx.

Public Member Functions

 RNTupleColumnReader (std::unique_ptr< RFieldBase > f)
 
virtual ~RNTupleColumnReader ()
 
std::unique_ptr< RNTupleColumnReaderClone ()
 Column readers are created as prototype and then cloned for every slot. More...
 
void Connect (RPageSource &source)
 Connect the field and its subfields to the page source. More...
 
voidGetImpl (Long64_t entry) final
 
- Public Member Functions inherited from ROOT::Detail::RDF::RColumnReaderBase
virtual ~RColumnReaderBase ()=default
 
template<typename T >
T & Get (Long64_t entry)
 Return the column value for the given entry. More...
 

Private Types

using RFieldBase = ROOT::Experimental::Detail::RFieldBase
 
using RFieldValue = ROOT::Experimental::Detail::RFieldValue
 
using RPageSource = ROOT::Experimental::Detail::RPageSource
 

Private Attributes

std::unique_ptr< RFieldBasefField
 The field backing the RDF column. More...
 
Long64_t fLastEntry
 Last entry number that was read. More...
 
RFieldValue fValue
 The memory location used to read from fField. More...
 
Inheritance diagram for ROOT::Experimental::Internal::RNTupleColumnReader:
[legend]

Member Typedef Documentation

◆ RFieldBase

◆ RFieldValue

◆ RPageSource

Constructor & Destructor Documentation

◆ RNTupleColumnReader()

ROOT::Experimental::Internal::RNTupleColumnReader::RNTupleColumnReader ( std::unique_ptr< RFieldBase f)
inline

Definition at line 112 of file RNTupleDS.cxx.

◆ ~RNTupleColumnReader()

virtual ROOT::Experimental::Internal::RNTupleColumnReader::~RNTupleColumnReader ( )
inlinevirtual

Definition at line 116 of file RNTupleDS.cxx.

Member Function Documentation

◆ Clone()

std::unique_ptr< RNTupleColumnReader > ROOT::Experimental::Internal::RNTupleColumnReader::Clone ( )
inline

Column readers are created as prototype and then cloned for every slot.

Definition at line 119 of file RNTupleDS.cxx.

◆ Connect()

void ROOT::Experimental::Internal::RNTupleColumnReader::Connect ( RPageSource source)
inline

Connect the field and its subfields to the page source.

Definition at line 125 of file RNTupleDS.cxx.

◆ GetImpl()

void * ROOT::Experimental::Internal::RNTupleColumnReader::GetImpl ( Long64_t  entry)
inlinefinalvirtual

Implements ROOT::Detail::RDF::RColumnReaderBase.

Definition at line 132 of file RNTupleDS.cxx.

Member Data Documentation

◆ fField

std::unique_ptr<RFieldBase> ROOT::Experimental::Internal::RNTupleColumnReader::fField
private

The field backing the RDF column.

Definition at line 107 of file RNTupleDS.cxx.

◆ fLastEntry

Long64_t ROOT::Experimental::Internal::RNTupleColumnReader::fLastEntry
private

Last entry number that was read.

Definition at line 109 of file RNTupleDS.cxx.

◆ fValue

RFieldValue ROOT::Experimental::Internal::RNTupleColumnReader::fValue
private

The memory location used to read from fField.

Definition at line 108 of file RNTupleDS.cxx.


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