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

Definition at line 82 of file RArrowDS.cxx.

Public Member Functions

 ArrayPtrVisitor (void **result)
 
void SetEntry (ULong64_t entry)
 
arrow::Status Visit (arrow::BooleanArray const &array) final
 
arrow::Status Visit (arrow::DoubleArray const &array) final
 
arrow::Status Visit (arrow::FloatArray const &array) final
 
arrow::Status Visit (arrow::Int32Array const &array) final
 Check if we are asking the same entry as before.
 
arrow::Status Visit (arrow::Int64Array const &array) final
 
arrow::Status Visit (arrow::ListArray const &array) final
 
arrow::Status Visit (arrow::StringArray const &array) final
 
arrow::Status Visit (arrow::UInt32Array const &array) final
 Check if we are asking the same entry as before.
 
arrow::Status Visit (arrow::UInt64Array const &array) final
 

Private Member Functions

template<typename T >
void * getTypeErasedPtrFrom (arrow::ListArray const &array, int32_t entry, RVec< T > &cache)
 

Private Attributes

bool fCachedBool {false}
 
RVec< doublefCachedRVecDouble
 
RVec< float > fCachedRVecFloat
 
RVec< Int_tfCachedRVecInt
 
RVec< Long64_tfCachedRVecLong64
 
RVec< UInt_tfCachedRVecUInt
 
RVec< ULong64_tfCachedRVecULong64
 
std::string fCachedString
 
ULong64_t fCurrentEntry
 The entry in the array which should be looked up.
 
void ** fResult
 The pointer to update.
 
Inheritance diagram for ROOT::Internal::RDF::ArrayPtrVisitor:
[legend]

Constructor & Destructor Documentation

◆ ArrayPtrVisitor()

ROOT::Internal::RDF::ArrayPtrVisitor::ArrayPtrVisitor ( void **  result)
inline

Definition at line 113 of file RArrowDS.cxx.

Member Function Documentation

◆ getTypeErasedPtrFrom()

template<typename T >
void * ROOT::Internal::RDF::ArrayPtrVisitor::getTypeErasedPtrFrom ( arrow::ListArray const &  array,
int32_t  entry,
RVec< T > &  cache 
)
inlineprivate

Definition at line 99 of file RArrowDS.cxx.

◆ SetEntry()

void ROOT::Internal::RDF::ArrayPtrVisitor::SetEntry ( ULong64_t  entry)
inline

Definition at line 115 of file RArrowDS.cxx.

◆ Visit() [1/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::BooleanArray const &  array)
inlinefinal

Definition at line 155 of file RArrowDS.cxx.

◆ Visit() [2/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::DoubleArray const &  array)
inlinefinal

Definition at line 149 of file RArrowDS.cxx.

◆ Visit() [3/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::FloatArray const &  array)
inlinefinal

Definition at line 143 of file RArrowDS.cxx.

◆ Visit() [4/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::Int32Array const &  array)
inlinefinal

Check if we are asking the same entry as before.

Definition at line 118 of file RArrowDS.cxx.

◆ Visit() [5/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::Int64Array const &  array)
inlinefinal

Definition at line 124 of file RArrowDS.cxx.

◆ Visit() [6/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::ListArray const &  array)
inlinefinal

Definition at line 169 of file RArrowDS.cxx.

◆ Visit() [7/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::StringArray const &  array)
inlinefinal

Definition at line 162 of file RArrowDS.cxx.

◆ Visit() [8/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::UInt32Array const &  array)
inlinefinal

Check if we are asking the same entry as before.

Definition at line 131 of file RArrowDS.cxx.

◆ Visit() [9/9]

arrow::Status ROOT::Internal::RDF::ArrayPtrVisitor::Visit ( arrow::UInt64Array const &  array)
inlinefinal

Definition at line 137 of file RArrowDS.cxx.

Member Data Documentation

◆ fCachedBool

bool ROOT::Internal::RDF::ArrayPtrVisitor::fCachedBool {false}
private

Definition at line 86 of file RArrowDS.cxx.

◆ fCachedRVecDouble

RVec<double> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecDouble
private

Definition at line 89 of file RArrowDS.cxx.

◆ fCachedRVecFloat

RVec<float> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecFloat
private

Definition at line 88 of file RArrowDS.cxx.

◆ fCachedRVecInt

RVec<Int_t> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecInt
private

Definition at line 93 of file RArrowDS.cxx.

◆ fCachedRVecLong64

RVec<Long64_t> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecLong64
private

Definition at line 92 of file RArrowDS.cxx.

◆ fCachedRVecUInt

RVec<UInt_t> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecUInt
private

Definition at line 91 of file RArrowDS.cxx.

◆ fCachedRVecULong64

RVec<ULong64_t> ROOT::Internal::RDF::ArrayPtrVisitor::fCachedRVecULong64
private

Definition at line 90 of file RArrowDS.cxx.

◆ fCachedString

std::string ROOT::Internal::RDF::ArrayPtrVisitor::fCachedString
private

Definition at line 94 of file RArrowDS.cxx.

◆ fCurrentEntry

ULong64_t ROOT::Internal::RDF::ArrayPtrVisitor::fCurrentEntry
private

The entry in the array which should be looked up.

Definition at line 96 of file RArrowDS.cxx.

◆ fResult

void** ROOT::Internal::RDF::ArrayPtrVisitor::fResult
private

The pointer to update.

Definition at line 85 of file RArrowDS.cxx.

  • tree/dataframe/src/RArrowDS.cxx