16#ifndef ROOT7_RNTupleWriteOptions
17#define ROOT7_RNTupleWriteOptions
26namespace Experimental {
69 virtual std::unique_ptr<RNTupleWriteOptions>
Clone()
const;
Common user-tunable settings for storing ntuples.
int GetCompression() const
std::size_t GetApproxUnzippedPageSize() const
void SetCompression(int val)
bool fHasSmallClusters
If set, 64bit index columns are replaced by 32bit index columns.
std::size_t GetApproxZippedClusterSize() const
void SetHasSmallClusters(bool val)
static constexpr std::uint64_t kMaxSmallClusterSize
A maximum size of 512MB still allows for a vector of bool to be stored in a small cluster.
bool GetUseBufferedWrite() const
void SetApproxZippedClusterSize(std::size_t val)
virtual std::unique_ptr< RNTupleWriteOptions > Clone() const
bool GetHasSmallClusters() const
std::size_t GetMaxUnzippedClusterSize() const
std::size_t fApproxZippedClusterSize
Approximation of the target compressed cluster size.
std::size_t fMaxUnzippedClusterSize
Memory limit for committing a cluster: with very high compression ratio, we need a limit on how large...
std::size_t fApproxUnzippedPageSize
Should be just large enough so that the compression ratio does not benefit much more from larger page...
void SetApproxUnzippedPageSize(std::size_t val)
void SetCompression(RCompressionSetting::EAlgorithm::EValues algorithm, int compressionLevel)
void SetUseImplicitMT(EImplicitMT val)
EImplicitMT GetUseImplicitMT() const
EImplicitMT fUseImplicitMT
void SetUseBufferedWrite(bool val)
virtual ~RNTupleWriteOptions()=default
void SetMaxUnzippedClusterSize(std::size_t val)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
int CompressionSettings(RCompressionSetting::EAlgorithm::EValues algorithm, int compressionLevel)
EValues
Note: this is only temporarily a struct and will become a enum class hence the name.
@ kUseGeneralPurpose
Use the new recommended general-purpose setting; it is a best trade-off between compression ratio/dec...