Given a set of RPageSources merge them into an RPageSink, optionally changing their compression.
This can also be used to change the compression of a single RNTuple by just passing a single source.
Definition at line 79 of file RNTupleMerger.hxx.
Public Member Functions | |
RNTupleMerger () | |
RResult< void > | Merge (std::span< RPageSource * > sources, RPageSink &destination, const RNTupleMergeOptions &mergeOpts=RNTupleMergeOptions()) |
Merge a given set of sources into the destination. | |
Private Member Functions | |
void | MergeCommonColumns (RClusterPool &clusterPool, DescriptorId_t clusterId, std::span< RColumnMergeInfo > commonColumns, const RCluster::ColumnSet_t &commonColumnSet, RSealedPageMergeData &sealedPageData, const RNTupleMergeData &mergeData) |
void | MergeSourceClusters (RPageSource &source, std::span< RColumnMergeInfo > commonColumns, std::span< RColumnMergeInfo > extraDstColumns, RNTupleMergeData &mergeData) |
Private Attributes | |
std::unique_ptr< RPageAllocator > | fPageAlloc |
std::optional< TTaskGroup > | fTaskGroup |
#include <ROOT/RNTupleMerger.hxx>
RNTupleMerger::RNTupleMerger | ( | ) |
Definition at line 875 of file RNTupleMerger.cxx.
RResult< void > RNTupleMerger::Merge | ( | std::span< RPageSource * > | sources, |
RPageSink & | destination, | ||
const RNTupleMergeOptions & | mergeOpts = RNTupleMergeOptions() |
||
) |
Merge a given set of sources into the destination.
Definition at line 887 of file RNTupleMerger.cxx.
|
private |
Definition at line 524 of file RNTupleMerger.cxx.
|
private |
Definition at line 692 of file RNTupleMerger.cxx.
|
private |
Definition at line 80 of file RNTupleMerger.hxx.
|
private |
Definition at line 81 of file RNTupleMerger.hxx.