![]() |
Project
|
#include <RCombinedDS.h>
Inherited by ROOT::RDF::RCombinedDSBlockJoinIndex< INDEX_TYPE >, ROOT::RDF::RCombinedDSColumnJoinIndex< INDEX_TYPE >, ROOT::RDF::RCombinedDSCrossJoinIndex, and ROOT::RDF::RCombinedDSFriendIndex.
Public Member Functions | |
virtual | ~RCombinedDSIndex ()=default |
virtual std::vector< std::pair< ULong64_t, ULong64_t > > | BuildIndex (std::unique_ptr< RDataFrame > &left, std::unique_ptr< RDataFrame > &right)=0 |
virtual std::pair< ULong64_t, ULong64_t > | GetAssociatedEntries (ULong64_t entry)=0 |
This is the baseclass which actually implements how two tables should be combined together, via the GetAssociatedEntries() method. The BuildIndex() method is a convenience method which gets invoked only once per Initialise() and that can be used to precompute the index itself, if the mapping combinedEntry -> (leftEntry, rightEntry) cannot be computed on the fly quickly.
Definition at line 33 of file RCombinedDS.h.
|
virtualdefault |
|
pure virtual |
This is invoked on every Inititialise of the RCombinedDS to allow constructing the index associated to it.
[in] |
is the dataframe constructed on top of the left input.
[in] |
is the dataframe constructed on top of the right input.
Implemented in ROOT::RDF::RCombinedDSFriendIndex, ROOT::RDF::RCombinedDSCrossJoinIndex, ROOT::RDF::RCombinedDSColumnJoinIndex< INDEX_TYPE >, and ROOT::RDF::RCombinedDSBlockJoinIndex< INDEX_TYPE >.
|
pure virtual |
This is invoked on every GetEntry() of the RCombinedDS and it's used to effectively enumerate all the pairs of the combination.
[in] |
is the entry in the combined table
Implemented in ROOT::RDF::RCombinedDSFriendIndex, ROOT::RDF::RCombinedDSCrossJoinIndex, ROOT::RDF::RCombinedDSColumnJoinIndex< INDEX_TYPE >, and ROOT::RDF::RCombinedDSBlockJoinIndex< INDEX_TYPE >.