Every RDF column is represented by exactly one RNTuple field.
Definition at line 156 of file RNTupleDS.cxx.
Public Member Functions | |
RNTupleColumnReader (RNTupleDS *ds, RFieldBase *protoField) | |
~RNTupleColumnReader ()=default | |
void | Connect (RPageSource &source, Long64_t entryOffset) |
Connect the field and its subfields to the page source. | |
void | Disconnect (bool keepValue) |
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::RFieldBase |
using | RPageSource = ROOT::Experimental::Internal::RPageSource |
Private Attributes | |
RNTupleDS * | fDataSource |
The data source that owns this column reader. | |
Long64_t | fEntryOffset = 0 |
For chains, the logical entry and the physical entry in any particular file can be different. | |
std::unique_ptr< RFieldBase > | fField |
The field backing the RDF column. | |
Long64_t | fLastEntry = -1 |
Last entry number that was read. | |
RFieldBase * | fProtoField |
The prototype field from which fField is cloned. | |
std::unique_ptr< RFieldBase::RValue > | fValue |
The memory location used to read from fField. | |
std::shared_ptr< void > | fValuePtr |
Used to reuse the object created by fValue when reconnecting sources. | |
|
private |
Definition at line 157 of file RNTupleDS.cxx.
|
private |
Definition at line 158 of file RNTupleDS.cxx.
|
inline |
Definition at line 172 of file RNTupleDS.cxx.
|
default |
|
inline |
Connect the field and its subfields to the page source.
Definition at line 176 of file RNTupleDS.cxx.
|
inline |
Definition at line 207 of file RNTupleDS.cxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RColumnReaderBase.
Definition at line 217 of file RNTupleDS.cxx.
|
private |
The data source that owns this column reader.
Definition at line 160 of file RNTupleDS.cxx.
|
private |
For chains, the logical entry and the physical entry in any particular file can be different.
The entry offset stores the logical entry number (sum of all previous physical entries) when a file of the corresponding data source was opened.
Definition at line 169 of file RNTupleDS.cxx.
|
private |
The field backing the RDF column.
Definition at line 162 of file RNTupleDS.cxx.
|
private |
Last entry number that was read.
Definition at line 165 of file RNTupleDS.cxx.
|
private |
The prototype field from which fField is cloned.
Definition at line 161 of file RNTupleDS.cxx.
|
private |
The memory location used to read from fField.
Definition at line 163 of file RNTupleDS.cxx.
|
private |
Used to reuse the object created by fValue when reconnecting sources.
Definition at line 164 of file RNTupleDS.cxx.