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

Every RDF column is represented by exactly one RNTuple field.

Definition at line 117 of file RNTupleDS.cxx.

Public Member Functions

 RNTupleColumnReader (std::unique_ptr< RFieldBase > f)
 
 ~RNTupleColumnReader ()
 
std::unique_ptr< RNTupleColumnReaderClone ()
 Column readers are created as prototype and then cloned for every slot.
 
void Connect (RPageSource &source)
 Connect the field and its subfields to the page source.
 
void * GetImpl (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.
 

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.
 
Long64_t fLastEntry
 Last entry number that was read.
 
RFieldValue fValue
 The memory location used to read from fField.
 
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 127 of file RNTupleDS.cxx.

◆ ~RNTupleColumnReader()

ROOT::Experimental::Internal::RNTupleColumnReader::~RNTupleColumnReader ( )
inline

Definition at line 131 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 134 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 140 of file RNTupleDS.cxx.

◆ GetImpl()

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

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

Definition at line 147 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 122 of file RNTupleDS.cxx.

◆ fLastEntry

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

Last entry number that was read.

Definition at line 124 of file RNTupleDS.cxx.

◆ fValue

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

The memory location used to read from fField.

Definition at line 123 of file RNTupleDS.cxx.

  • tree/dataframe/src/RNTupleDS.cxx