Merge Actions used internally to merge attributes.
These may in turn call user-defined actions that implement the similarly-named interface RNTupleAttrMergeActions.
Definition at line 1044 of file RNTupleMerger.cxx.
Public Member Functions | |
| RNTupleAttrMergeActionsDefault (const RNTupleMergeStrategy &parentStrategy, ROOT::NTupleSize_t initialStartOffset, std::unique_ptr< RNTupleAttrMergeActions > userActions) | |
| ENTupleMergeActionResult | BeforeCommit (ROOT::REntry &, const RNTupleMergeActionContext &ctx) final |
| Invoked at the end of the merge process, right before committing the dataset. | |
| ENTupleMergeActionResult | OnFill (ROOT::REntry &metaEntry, const RNTupleMergeActionContext &ctx) final |
| Invoked every time an entry is merged from a source RNTuple to the destination RNTuple. | |
| void | OnSourceBegin (ROOT::REntry &, const RNTupleMergeActionContext &) final |
| Invoked at the start of each sources's merging process. | |
| ENTupleMergeActionResult | OnSourceEnd (ROOT::REntry &metaEntry, const RNTupleMergeActionContext &ctx) final |
| Invoked at the end of each source's merging process. | |
Private Types | |
| using | UserAction_t |
Private Member Functions | |
| ENTupleMergeActionResult | CallUserAction (UserAction_t method, const RNTupleMergeActionContext &ctx) |
| void | InitSource (ROOT::REntry &metaEntry, const RNTupleMergeActionContext &ctx) |
Private Attributes | |
| ROOT::NTupleSize_t | fAttrEntryStartOffset = 0 |
| How much do we need to shift the _rangeStart field by. | |
| ROOT::NTupleSize_t | fLatestEntryLoaded = std::numeric_limits<ROOT::NTupleSize_t>::max() |
| const RNTupleMergeStrategy & | fParentStrategy |
| std::shared_ptr< ROOT::NTupleSize_t > | fRangeLenPtr |
| std::shared_ptr< ROOT::NTupleSize_t > | fRangeStartPtr |
| std::unique_ptr< ROOT::REntry > | fScopedEntry |
| std::unique_ptr< RNTupleAttrMergeActions > | fUserActions |
| std::unique_ptr< ROOT::RNTupleModel > | fUserModel |
Definition at line 1056 of file RNTupleMerger.cxx.
|
inline |
Definition at line 1103 of file RNTupleMerger.cxx.
|
inlinefinalvirtual |
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.
Reimplemented from ROOT::Internal::RNTupleMergeActions.
Definition at line 1154 of file RNTupleMerger.cxx.
|
inlineprivate |
Definition at line 1059 of file RNTupleMerger.cxx.
|
inlineprivate |
Definition at line 1076 of file RNTupleMerger.cxx.
|
inlinefinalvirtual |
Invoked every time an entry is merged from a source RNTuple to the destination RNTuple.
Reimplemented from ROOT::Internal::RNTupleMergeActions.
Definition at line 1118 of file RNTupleMerger.cxx.
|
inlinefinalvirtual |
Invoked at the start of each sources's merging process.
Reimplemented from ROOT::Internal::RNTupleMergeActions.
Definition at line 1109 of file RNTupleMerger.cxx.
|
inlinefinalvirtual |
Invoked at the end of each source's merging process.
The first time this function is invoked per source the given entry contains the value of the latest entry read (which may be undefined if this source had no entries). During subsequent calls (caused by kEmitMulti), the entry will contain the previously-emitted values.
Reimplemented from ROOT::Internal::RNTupleMergeActions.
Definition at line 1139 of file RNTupleMerger.cxx.
|
private |
How much do we need to shift the _rangeStart field by.
This changes on each new source (and is equal to the total number of entries committed at the end of the previous source).
Definition at line 1047 of file RNTupleMerger.cxx.
|
private |
Definition at line 1054 of file RNTupleMerger.cxx.
|
private |
Definition at line 1048 of file RNTupleMerger.cxx.
|
private |
Definition at line 1050 of file RNTupleMerger.cxx.
|
private |
Definition at line 1049 of file RNTupleMerger.cxx.
|
private |
Definition at line 1053 of file RNTupleMerger.cxx.
|
private |
Definition at line 1051 of file RNTupleMerger.cxx.
|
private |
Definition at line 1052 of file RNTupleMerger.cxx.