25 std::shared_ptr<arrow::Table>
fTable;
31 std::vector<std::unique_ptr<ROOT::Internal::RDF::TValueGetter>>
fValueGetters;
35 RArrowDS(std::shared_ptr<arrow::Table> table, std::vector<std::string>
const &columns);
37 const std::vector<std::string> &GetColumnNames()
const override;
38 std::vector<std::pair<ULong64_t, ULong64_t>> GetEntryRanges()
override;
41 bool SetEntry(
unsigned int slot,
ULong64_t entry)
override;
42 void InitSlot(
unsigned int slot,
ULong64_t firstEntry)
override;
43 void SetNSlots(
unsigned int nSlots)
override;
44 void Initialise()
override;
Namespace for new ROOT classes and functions.
RDataFrame data source class to interface with Apache Arrow.
RDataFrame MakeArrowDataFrame(std::shared_ptr< arrow::Table > table, std::vector< std::string > const &columns)
Factory method to create a Apache Arrow RDataFrame.
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
std::vector< std::unique_ptr< ROOT::Internal::RDF::TValueGetter > > fValueGetters
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTrees, CSV's and other data formats.
unsigned long long ULong64_t
basic_string_view< char > string_view
std::shared_ptr< arrow::Table > fTable
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
std::vector< std::string > fColumnNames
std::vector< std::pair< size_t, size_t > > fGetterIndex