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

Every RDF column is represented by exactly one RNTuple field.

Definition at line 123 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:

Member Typedef Documentation

◆ RFieldBase

◆ RFieldValue

◆ RPageSource

Constructor & Destructor Documentation

◆ RNTupleColumnReader()

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

Definition at line 133 of file RNTupleDS.cxx.

◆ ~RNTupleColumnReader()

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

Definition at line 137 of file RNTupleDS.cxx.

Member Function Documentation

◆ Clone()

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

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

Definition at line 140 of file RNTupleDS.cxx.

◆ Connect()

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

Connect the field and its subfields to the page source.

Definition at line 146 of file RNTupleDS.cxx.

◆ GetImpl()

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

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

Definition at line 153 of file RNTupleDS.cxx.

Member Data Documentation

◆ fField

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

The field backing the RDF column.

Definition at line 128 of file RNTupleDS.cxx.

◆ fLastEntry

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

Last entry number that was read.

Definition at line 130 of file RNTupleDS.cxx.

◆ fValue

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

The memory location used to read from fField.

Definition at line 129 of file RNTupleDS.cxx.

  • tree/dataframe/src/RNTupleDS.cxx