Every RDF column is represented by exactly one RNTuple field.
Definition at line 57 of file RNTupleDS.cxx.
Public Member Functions | |
| RNTupleColumnReader (RNTupleDS *ds, RFieldBase *protoField) | |
| ~RNTupleColumnReader () override=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 |
| template<typename T > | |
| T * | TryGet (Long64_t entry) |
| Return the column value for the given entry. | |
Private Types | |
| using | RFieldBase = ROOT::RFieldBase |
| using | RPageSource = ROOT::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 58 of file RNTupleDS.cxx.
Definition at line 59 of file RNTupleDS.cxx.
|
inline |
Definition at line 73 of file RNTupleDS.cxx.
|
overridedefault |
|
inline |
Connect the field and its subfields to the page source.
Definition at line 77 of file RNTupleDS.cxx.
|
inline |
Definition at line 122 of file RNTupleDS.cxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RColumnReaderBase.
Definition at line 132 of file RNTupleDS.cxx.
|
inlineinherited |
Return the column value for the given entry.
| T | The column type |
| entry | The entry number |
The caller is responsible for checking that the returned value actually exists.
Definition at line 39 of file RColumnReaderBase.hxx.
|
private |
The data source that owns this column reader.
Definition at line 61 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 70 of file RNTupleDS.cxx.
|
private |
The field backing the RDF column.
Definition at line 63 of file RNTupleDS.cxx.
|
private |
Last entry number that was read.
Definition at line 66 of file RNTupleDS.cxx.
|
private |
The prototype field from which fField is cloned.
Definition at line 62 of file RNTupleDS.cxx.
|
private |
The memory location used to read from fField.
Definition at line 64 of file RNTupleDS.cxx.
|
private |
Used to reuse the object created by fValue when reconnecting sources.
Definition at line 65 of file RNTupleDS.cxx.