ROOT 6.18/05 Reference Guide |
Storage provider that reads ntuple pages from a ROOT TFile.
Definition at line 174 of file RPageStorageRoot.hxx.
Classes | |
struct | RSettings |
Public Member Functions | |
RPageSourceRoot (std::string_view ntupleName, RSettings settings) | |
RPageSourceRoot (std::string_view ntupleName, std::string_view path) | |
virtual | ~RPageSourceRoot () |
ColumnHandle_t | AddColumn (RColumn *column) final |
Register a new column. More... | |
void | Attach () final |
TODO: copy/assignment for creating clones in multiple threads. More... | |
std::unique_ptr< ROOT::Experimental::RNTupleModel > | GenerateModel () final |
ColumnId_t | GetColumnId (ColumnHandle_t columnHandle) final |
const RNTupleDescriptor & | GetDescriptor () const final |
NTupleSize_t | GetNElements (ColumnHandle_t columnHandle) final |
NTupleSize_t | GetNEntries () final |
void | PopulatePage (ColumnHandle_t columnHandle, NTupleSize_t index, RPage *page) final |
Fills a page starting with index rangeStart; the corresponding column is taken from the page object. More... | |
Public Member Functions inherited from ROOT::Experimental::Detail::RPageSource | |
RPageSource (std::string_view treeName) | |
virtual | ~RPageSource () |
virtual void | Attach ()=0 |
TODO: copy/assignment for creating clones in multiple threads. More... | |
virtual std::unique_ptr< ROOT::Experimental::RNTupleModel > | GenerateModel ()=0 |
virtual ColumnId_t | GetColumnId (ColumnHandle_t columnHandle)=0 |
virtual const RNTupleDescriptor & | GetDescriptor () const =0 |
virtual NTupleSize_t | GetNElements (ColumnHandle_t columnHandle)=0 |
virtual NTupleSize_t | GetNEntries ()=0 |
EPageStorageType | GetType () final |
virtual void | PopulatePage (ColumnHandle_t columnHandle, NTupleSize_t index, RPage *page)=0 |
Fills a page starting with index rangeStart; the corresponding column is taken from the page object. More... | |
Public Member Functions inherited from ROOT::Experimental::Detail::RPageStorage | |
RPageStorage () | |
RPageStorage (const RPageStorage &other)=delete | |
virtual | ~RPageStorage () |
virtual ColumnHandle_t | AddColumn (RColumn *column)=0 |
Register a new column. More... | |
RPagePool * | GetPagePool () const |
virtual EPageStorageType | GetType ()=0 |
RPageStorage & | operator= (const RPageStorage &other)=delete |
Private Attributes | |
RNTupleDescriptor | fDescriptor |
TDirectory * | fDirectory |
Currently, an ntuple is stored as a directory in a TFile. More... | |
RMapper | fMapper |
std::string | fNTupleName |
RSettings | fSettings |
Additional Inherited Members | |
Public Types inherited from ROOT::Experimental::Detail::RPageStorage | |
using | ColumnHandle_t = RColumnHandle |
The column handle identfies a column with the current open page storage. More... | |
Protected Attributes inherited from ROOT::Experimental::Detail::RPageStorage | |
std::unique_ptr< RPagePool > | fPagePool |
All data is shipped to and from physical storage in pages, and moderated through a page pool. More... | |
#include <ROOT/RPageStorageRoot.hxx>
ROOT::Experimental::Detail::RPageSourceRoot::RPageSourceRoot | ( | std::string_view | ntupleName, |
RSettings | settings | ||
) |
Definition at line 148 of file RPageStorageRoot.cxx.
ROOT::Experimental::Detail::RPageSourceRoot::RPageSourceRoot | ( | std::string_view | ntupleName, |
std::string_view | path | ||
) |
Definition at line 156 of file RPageStorageRoot.cxx.
|
virtual |
Definition at line 167 of file RPageStorageRoot.cxx.
|
finalvirtual |
Register a new column.
When reading, the column must exist in the tree on disk corresponding to the meta-data. When writing, every column can only be attached once.
Implements ROOT::Experimental::Detail::RPageStorage.
Definition at line 177 of file RPageStorageRoot.cxx.
|
finalvirtual |
TODO: copy/assignment for creating clones in multiple threads.
Open the physical storage container for the tree
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 189 of file RPageStorageRoot.cxx.
|
finalvirtual |
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 272 of file RPageStorageRoot.cxx.
|
finalvirtual |
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 351 of file RPageStorageRoot.cxx.
|
inlinefinalvirtual |
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 202 of file RPageStorageRoot.hxx.
|
finalvirtual |
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 346 of file RPageStorageRoot.cxx.
|
finalvirtual |
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 341 of file RPageStorageRoot.cxx.
|
finalvirtual |
Fills a page starting with index rangeStart; the corresponding column is taken from the page object.
Implements ROOT::Experimental::Detail::RPageSource.
Definition at line 282 of file RPageStorageRoot.cxx.
|
private |
Definition at line 188 of file RPageStorageRoot.hxx.
|
private |
Currently, an ntuple is stored as a directory in a TFile.
Definition at line 184 of file RPageStorageRoot.hxx.
|
private |
Definition at line 187 of file RPageStorageRoot.hxx.
|
private |
Definition at line 182 of file RPageStorageRoot.hxx.
|
private |
Definition at line 185 of file RPageStorageRoot.hxx.