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

Like RNTupleMergeActions, but performed specifically on attributes.

The main difference is that all methods also receive an in/out Range parameter, which may be modified to point the emitted entries to that range in the main RNTuple.

Definition at line 203 of file RNTupleMerger.hxx.

Public Member Functions

 RNTupleAttrMergeActions ()=default
 
 RNTupleAttrMergeActions (const RNTupleAttrMergeActions &)=delete
 
 RNTupleAttrMergeActions (RNTupleAttrMergeActions &&)=default
 
virtual ~RNTupleAttrMergeActions ()=default
 
virtual ENTupleMergeActionResult BeforeCommit (ROOT::REntry &, ROOT::RNTupleAttrRange &, const RNTupleMergeActionContext &)
 Invoked at the end of the merge process, right before committing the dataset.
 
virtual ENTupleMergeActionResult OnFill (ROOT::REntry &, ROOT::RNTupleAttrRange &, const RNTupleMergeActionContext &)
 Invoked every time an entry is merged from a source RNTuple to the destination RNTuple.
 
virtual ENTupleMergeActionResult OnSourceEnd (ROOT::REntry &, ROOT::RNTupleAttrRange &, const RNTupleMergeActionContext &)
 Invoked at the end of each source's merging process.
 
RNTupleAttrMergeActions & operator= (const RNTupleAttrMergeActions &)=delete
 
RNTupleAttrMergeActions & operator= (RNTupleAttrMergeActions &&)=default
 

#include <ROOT/RNTupleMerger.hxx>

Constructor & Destructor Documentation

◆ RNTupleAttrMergeActions() [1/3]

ROOT::Internal::RNTupleAttrMergeActions::RNTupleAttrMergeActions ( )
default

◆ ~RNTupleAttrMergeActions()

virtual ROOT::Internal::RNTupleAttrMergeActions::~RNTupleAttrMergeActions ( )
virtualdefault

◆ RNTupleAttrMergeActions() [2/3]

ROOT::Internal::RNTupleAttrMergeActions::RNTupleAttrMergeActions ( const RNTupleAttrMergeActions & )
delete

◆ RNTupleAttrMergeActions() [3/3]

ROOT::Internal::RNTupleAttrMergeActions::RNTupleAttrMergeActions ( RNTupleAttrMergeActions && )
default

Member Function Documentation

◆ BeforeCommit()

virtual ENTupleMergeActionResult ROOT::Internal::RNTupleAttrMergeActions::BeforeCommit ( ROOT::REntry & ,
ROOT::RNTupleAttrRange & ,
const RNTupleMergeActionContext &  )
inlinevirtual

Invoked at the end of the merge process, right before committing the dataset.

The first time this function is invoked the given entry contains unspecified values. During subsequent calls (caused by kEmitMulti), the entry will contain the previously-emitted values. This allows appending more entries at the end of the merge.

Definition at line 239 of file RNTupleMerger.hxx.

◆ OnFill()

virtual ENTupleMergeActionResult ROOT::Internal::RNTupleAttrMergeActions::OnFill ( ROOT::REntry & ,
ROOT::RNTupleAttrRange & ,
const RNTupleMergeActionContext &  )
inlinevirtual

Invoked every time an entry is merged from a source RNTuple to the destination RNTuple.

The first time this function is invoked per entry, the entry and range parameters contain the values of the currently-loaded entry. When invoked multiple times in a row due to kEmitMulti, both the range and the entry parameters will contain the same values as the previous invocation.

Definition at line 218 of file RNTupleMerger.hxx.

◆ OnSourceEnd()

virtual ENTupleMergeActionResult ROOT::Internal::RNTupleAttrMergeActions::OnSourceEnd ( ROOT::REntry & ,
ROOT::RNTupleAttrRange & ,
const RNTupleMergeActionContext &  )
inlinevirtual

Invoked at the end of each source's merging process.

The first time this function is invoked per source the given entry and range contain the value of the latest attribute entry read and its range (both of which may be undefined if this source had no attribute entries). During subsequent calls (caused by kEmitMulti), the entry and the range will contain the previously-emitted values.

Definition at line 229 of file RNTupleMerger.hxx.

◆ operator=() [1/2]

RNTupleAttrMergeActions & ROOT::Internal::RNTupleAttrMergeActions::operator= ( const RNTupleAttrMergeActions & )
delete

◆ operator=() [2/2]

RNTupleAttrMergeActions & ROOT::Internal::RNTupleAttrMergeActions::operator= ( RNTupleAttrMergeActions && )
default

The documentation for this class was generated from the following file: