Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RNTupleMerger Class Referencefinal

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< RPageAllocatorfPageAlloc
 
std::optional< TTaskGroupfTaskGroup
 

#include <ROOT/RNTupleMerger.hxx>

Constructor & Destructor Documentation

◆ RNTupleMerger()

RNTupleMerger::RNTupleMerger ( )

Definition at line 875 of file RNTupleMerger.cxx.

Member Function Documentation

◆ Merge()

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.

◆ MergeCommonColumns()

void RNTupleMerger::MergeCommonColumns ( RClusterPool clusterPool,
DescriptorId_t  clusterId,
std::span< RColumnMergeInfo commonColumns,
const RCluster::ColumnSet_t commonColumnSet,
RSealedPageMergeData sealedPageData,
const RNTupleMergeData mergeData 
)
private

Definition at line 524 of file RNTupleMerger.cxx.

◆ MergeSourceClusters()

void RNTupleMerger::MergeSourceClusters ( RPageSource source,
std::span< RColumnMergeInfo commonColumns,
std::span< RColumnMergeInfo extraDstColumns,
RNTupleMergeData mergeData 
)
private

Definition at line 692 of file RNTupleMerger.cxx.

Member Data Documentation

◆ fPageAlloc

std::unique_ptr<RPageAllocator> ROOT::Experimental::Internal::RNTupleMerger::fPageAlloc
private

Definition at line 80 of file RNTupleMerger.hxx.

◆ fTaskGroup

std::optional<TTaskGroup> ROOT::Experimental::Internal::RNTupleMerger::fTaskGroup
private

Definition at line 81 of file RNTupleMerger.hxx.

Libraries for ROOT::Experimental::Internal::RNTupleMerger:

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