32 std::shared_ptr<arrow::Table>
fTable;
38 std::vector<std::unique_ptr<ROOT::Internal::RDF::TValueGetter>>
fValueGetters;
42 RArrowDS(std::shared_ptr<arrow::Table> table, std::vector<std::string>
const &columns);
52 std::
string GetTypeName(std::string_view colName) const final;
53 bool HasColumn(std::string_view colName) const final;
56 void SetNSlots(
unsigned int nSlots) final;
unsigned long long ULong64_t
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Helper class which keeps track for each slot where to get the entry.
RDataFrame data source class to interface with Apache Arrow.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges() final
Return ranges of entries to distribute to tasks.
RArrowDS(RArrowDS &&)=delete
void SetNSlots(unsigned int nSlots) final
Inform RDataSource of the number of processing slots (i.e.
RArrowDS(const RArrowDS &)=delete
RArrowDS & operator=(const RArrowDS &)=delete
RArrowDS & operator=(RArrowDS &&)=delete
bool HasColumn(std::string_view colName) const final
Checks if the dataset has a certain column.
~RArrowDS() final
Destructor.
void InitSlot(unsigned int slot, ULong64_t firstEntry) final
Convenience method called at the start of the data processing associated to a slot.
std::string GetLabel() final
Return a string representation of the datasource type.
void Initialize() final
Convenience method called before starting an event-loop.
std::shared_ptr< arrow::Table > fTable
std::vector< std::pair< size_t, size_t > > fGetterIndex
std::string GetTypeName(std::string_view colName) const final
Type of a column as a string, e.g.
std::vector< void * > GetColumnReadersImpl(std::string_view name, const std::type_info &type) final
This needs to return a pointer to the pointer each value getter will point to.
std::vector< std::unique_ptr< ROOT::Internal::RDF::TValueGetter > > fValueGetters
bool SetEntry(unsigned int slot, ULong64_t entry) final
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot.
std::vector< std::string > fColumnNames
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
const std::vector< std::string > & GetColumnNames() const final
Returns a reference to the collection of the dataset's column names.
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
RDataFrame FromArrow(std::shared_ptr< arrow::Table > table, std::vector< std::string > const &columnNames)
Factory method to create a Apache Arrow RDataFrame.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...