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

Every RDF column is represented by exactly one RNTuple field.

Definition at line 31 of file RNTupleProcessorDS.cxx.

Public Member Functions

 RNTupleProcessorColumnReader (RNTupleProcessorOptionalPtr< void > &valuePtr)
 
 ~RNTupleProcessorColumnReader () override=default
 
void * GetImpl (Long64_t entry) final
 
void SetEntryLoaded (Long64_t entry)
 
template<typename T >
T * TryGet (Long64_t entry)
 Return the column value for the given entry.
 

Private Attributes

Long64_t fLastLoadedEntry = ROOT::kInvalidNTupleIndex
 
RNTupleProcessorOptionalPtr< void > fValuePtr
 Container for the value of the column.
 
Inheritance diagram for ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader:
[legend]

Constructor & Destructor Documentation

◆ RNTupleProcessorColumnReader()

ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader::RNTupleProcessorColumnReader ( RNTupleProcessorOptionalPtr< void > & valuePtr)
inline

Definition at line 36 of file RNTupleProcessorDS.cxx.

◆ ~RNTupleProcessorColumnReader()

ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader::~RNTupleProcessorColumnReader ( )
overridedefault

Member Function Documentation

◆ GetImpl()

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

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

Definition at line 39 of file RNTupleProcessorDS.cxx.

◆ SetEntryLoaded()

void ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader::SetEntryLoaded ( Long64_t entry)
inline

Definition at line 45 of file RNTupleProcessorDS.cxx.

◆ TryGet()

template<typename T >
T * ROOT::Detail::RDF::RColumnReaderBase::TryGet ( Long64_t entry)
inlineinherited

Return the column value for the given entry.

Template Parameters
TThe column type
Parameters
entryThe entry number

The caller is responsible for checking that the returned value actually exists.

Definition at line 39 of file RColumnReaderBase.hxx.

Member Data Documentation

◆ fLastLoadedEntry

Long64_t ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader::fLastLoadedEntry = ROOT::kInvalidNTupleIndex
private

Definition at line 33 of file RNTupleProcessorDS.cxx.

◆ fValuePtr

RNTupleProcessorOptionalPtr<void> ROOT::Experimental::Internal::RDF::RNTupleProcessorColumnReader::fValuePtr
private

Container for the value of the column.

Definition at line 32 of file RNTupleProcessorDS.cxx.

  • tree/dataframe/src/RNTupleProcessorDS.cxx