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 113 of file RNTupleDS.cxx.

Public Member Functions

 RNTupleColumnReader (std::unique_ptr< RFieldBase > f)
 
 ~RNTupleColumnReader ()=default
 
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 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.
 
RFieldBase::RValue fValue
 The memory location used to read from fField.
 
Inheritance diagram for ROOT::Experimental::Internal::RNTupleColumnReader:
[legend]

Member Typedef Documentation

◆ RFieldBase

◆ RPageSource

Constructor & Destructor Documentation

◆ RNTupleColumnReader()

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

Definition at line 122 of file RNTupleDS.cxx.

◆ ~RNTupleColumnReader()

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

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 129 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 135 of file RNTupleDS.cxx.

◆ GetImpl()

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

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

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

◆ fLastEntry

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

Last entry number that was read.

Definition at line 119 of file RNTupleDS.cxx.

◆ fValue

RFieldBase::RValue ROOT::Experimental::Internal::RNTupleColumnReader::fValue
private

The memory location used to read from fField.

Definition at line 118 of file RNTupleDS.cxx.

  • tree/dataframe/src/RNTupleDS.cxx