16#ifndef ROOT7_RNTupleWriteOptions
17#define ROOT7_RNTupleWriteOptions
27class RNTupleWriteOptions;
212 virtual std::unique_ptr<RNTupleWriteOptions>
Clone()
const;
272namespace Experimental {
274using RNTupleWriteOptions [[deprecated(
"ROOT::Experimental::RNTupleWriteOptions moved to ROOT::RNTupleWriteOptions")]] =
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static void SetMaxKeySize(RNTupleWriteOptions &options, std::uint64_t maxKeySize)
Common user-tunable settings for storing RNTuples.
void SetEnablePageChecksums(bool val)
Note that turning off page checksums will also turn off the same page merging optimization (see tunin...
bool GetUseBufferedWrite() const
std::size_t GetPageBufferBudget() const
void SetMaxUnzippedClusterSize(std::size_t val)
std::size_t fWriteBufferSize
EImplicitMT fUseImplicitMT
void SetWriteBufferSize(std::size_t val)
std::uint32_t fCompression
std::size_t fMaxUnzippedPageSize
std::size_t GetWriteBufferSize() const
std::size_t GetApproxZippedClusterSize() const
std::size_t GetMaxUnzippedClusterSize() const
std::uint64_t fMaxKeySize
Specifies the max size of a payload storeable into a single TKey.
void SetUseImplicitMT(EImplicitMT val)
static constexpr std::uint64_t kDefaultMaxKeySize
std::size_t fInitialUnzippedPageSize
std::size_t fPageBufferBudget
std::size_t fMaxUnzippedClusterSize
bool GetEnablePageChecksums() const
std::uint64_t GetMaxKeySize() const
void SetMaxUnzippedPageSize(std::size_t val)
void SetUseBufferedWrite(bool val)
void SetInitialUnzippedPageSize(std::size_t val)
bool GetEnableSamePageMerging() const
bool GetUseDirectIO() const
virtual std::unique_ptr< RNTupleWriteOptions > Clone() const
virtual ~RNTupleWriteOptions()=default
void SetEnableSamePageMerging(bool val)
void SetPageBufferBudget(std::size_t val)
void SetApproxZippedClusterSize(std::size_t val)
std::size_t GetMaxUnzippedPageSize() const
std::size_t fApproxZippedClusterSize
std::uint32_t GetCompression() const
void SetCompression(std::uint32_t val)
void SetUseDirectIO(bool val)
void SetCompression(RCompressionSetting::EAlgorithm::EValues algorithm, int compressionLevel)
EImplicitMT GetUseImplicitMT() const
std::size_t GetInitialUnzippedPageSize() const
bool fEnableSamePageMerging
bool fEnablePageChecksums
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 convention used.
@ kUseGeneralPurpose
Use the new recommended general-purpose setting; it is a best trade-off between compression ratio/dec...