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

Helper class which keeps track for each slot where to get the entry.

Definition at line 204 of file RArrowDS.cxx.

Public Member Functions

 TValueGetter (size_t slots, arrow::ArrayVector chunks)
 
void SetEntry (unsigned int slot, ULong64_t entry)
 Set the current entry to be retrieved.
 
std::vector< void * > SlotPtrs ()
 This returns the ptr to the ptr to actual data.
 
void UncachedSlotLookup (unsigned int slot, ULong64_t entry)
 

Private Attributes

std::vector< ArrayPtrVisitorfArrayVisitorPerSlot
 
std::vector< ULong64_tfChunkIndex
 Since data can be chunked in different arrays we need to construct an index which contains the first element of each chunk, so that we can quickly move to the correct chunk.
 
arrow::ArrayVector fChunks
 
std::vector< ULong64_tfFirstEntryPerChunk
 
std::vector< ULong64_tfLastChunkPerSlot
 
std::vector< ULong64_tfLastEntryPerSlot
 
std::vector< void * > fValuesPtrPerSlot
 

Constructor & Destructor Documentation

◆ TValueGetter()

ROOT::Internal::RDF::TValueGetter::TValueGetter ( size_t  slots,
arrow::ArrayVector  chunks 
)
inline

Definition at line 218 of file RArrowDS.cxx.

Member Function Documentation

◆ SetEntry()

void ROOT::Internal::RDF::TValueGetter::SetEntry ( unsigned int  slot,
ULong64_t  entry 
)
inline

Set the current entry to be retrieved.

Definition at line 279 of file RArrowDS.cxx.

◆ SlotPtrs()

std::vector< void * > ROOT::Internal::RDF::TValueGetter::SlotPtrs ( )
inline

This returns the ptr to the ptr to actual data.

Definition at line 234 of file RArrowDS.cxx.

◆ UncachedSlotLookup()

void ROOT::Internal::RDF::TValueGetter::UncachedSlotLookup ( unsigned int  slot,
ULong64_t  entry 
)
inline

Definition at line 245 of file RArrowDS.cxx.

Member Data Documentation

◆ fArrayVisitorPerSlot

std::vector<ArrayPtrVisitor> ROOT::Internal::RDF::TValueGetter::fArrayVisitorPerSlot
private

Definition at line 210 of file RArrowDS.cxx.

◆ fChunkIndex

std::vector<ULong64_t> ROOT::Internal::RDF::TValueGetter::fChunkIndex
private

Since data can be chunked in different arrays we need to construct an index which contains the first element of each chunk, so that we can quickly move to the correct chunk.

Definition at line 214 of file RArrowDS.cxx.

◆ fChunks

arrow::ArrayVector ROOT::Internal::RDF::TValueGetter::fChunks
private

Definition at line 215 of file RArrowDS.cxx.

◆ fFirstEntryPerChunk

std::vector<ULong64_t> ROOT::Internal::RDF::TValueGetter::fFirstEntryPerChunk
private

Definition at line 209 of file RArrowDS.cxx.

◆ fLastChunkPerSlot

std::vector<ULong64_t> ROOT::Internal::RDF::TValueGetter::fLastChunkPerSlot
private

Definition at line 208 of file RArrowDS.cxx.

◆ fLastEntryPerSlot

std::vector<ULong64_t> ROOT::Internal::RDF::TValueGetter::fLastEntryPerSlot
private

Definition at line 207 of file RArrowDS.cxx.

◆ fValuesPtrPerSlot

std::vector<void *> ROOT::Internal::RDF::TValueGetter::fValuesPtrPerSlot
private

Definition at line 206 of file RArrowDS.cxx.

  • tree/dataframe/src/RArrowDS.cxx