66 if (fNEntries == fLastFlushed) {
73 if (fStagedClusterCommitting) {
80 fNBytesFilled += fUnzippedClusterSize;
84 std::min(1000.f,
static_cast<float>(fNBytesFilled) /
static_cast<float>(fNBytesFlushed));
85 fUnzippedClusterSizeEst =
86 compressionFactor *
static_cast<float>(fSink->GetWriteOptions().GetApproxZippedClusterSize());
88 fLastFlushed = fNEntries;
89 fUnzippedClusterSize = 0;
void FlushCluster()
Flush so far filled entries to storage.
std::size_t fUnzippedClusterSizeEst
Estimator of uncompressed cluster size, taking into account the estimated compression ratio.
Experimental::Detail::RNTupleMetrics fMetrics
void FlushColumns()
Flush column data, preparing for CommitCluster or to reduce memory usage.
RNTupleFillContext(std::unique_ptr< ROOT::RNTupleModel > model, std::unique_ptr< ROOT::Internal::RPageSink > sink)
void CommitStagedClusters()
Logically append staged clusters to the RNTuple.
std::unique_ptr< ROOT::RNTupleModel > fModel
Needs to be destructed before fSink.
std::unique_ptr< ROOT::Internal::RPageSink > fSink
std::size_t fMaxUnzippedClusterSize
Limit for committing cluster no matter the other tunables.