60 DistributionKey_t fDkey;
68static constexpr DistributionKey_t kDistributionKeyDefault = 0x5a3c69f0cafe4a11;
69static constexpr AttributeKey_t kAttributeKeyDefault = 0x4243544b53444229;
70static constexpr AttributeKey_t kAttributeKeyAnchor = 0x4243544b5344422a;
71static constexpr AttributeKey_t kAttributeKeyHeader = 0x4243544b5344422b;
72static constexpr AttributeKey_t kAttributeKeyFooter = 0x4243544b5344422c;
80static constexpr EDaosMapping kDefaultDaosMapping = kOidPerCluster;
82template <EDaosMapping mapping>
84 long unsigned columnId,
long unsigned pageCount)
86 if constexpr (mapping == kOidPerCluster) {
89 static_cast<DistributionKey_t
>(columnId),
static_cast<AttributeKey_t
>(pageCount)};
90 }
else if constexpr (mapping == kOidPerPage) {
93 kDistributionKeyDefault, kAttributeKeyDefault};
99 std::string fPoolLabel;
101 std::string fContainerLabel;
107RDaosURI ParseDaosURI(std::string_view uri)
109 std::regex re(
"daos://([^/]+)/(.+)");
111 if (!std::regex_match(uri.data(),
m, re))
123struct RDaosContainerNTupleLocator {
126 std::optional<ROOT::Experimental::Internal::RDaosNTupleAnchor> fAnchor;
129 RDaosContainerNTupleLocator() =
default;
130 explicit RDaosContainerNTupleLocator(
const std::string &ntupleName) : fName(ntupleName), fIndex(
Hash(ntupleName)) {}
132 bool IsValid() {
return fAnchor.has_value() && fAnchor->fNBytesHeader; }
137 uint64_t
h = std::hash<std::string>{}(ntupleName);
139 auto seed =
static_cast<uint32_t
>(
h >> 32);
140 seed ^=
static_cast<uint32_t
>(
h & 0xffffffff) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
142 return (hash == kReservedIndex) ? kReservedIndex + 1 : hash;
145 int InitNTupleDescriptorBuilder(ROOT::Experimental::Internal::RDaosContainer &cont,
146 ROOT::Internal::RNTupleDescriptorBuilder &builder)
148 std::unique_ptr<unsigned char[]> buffer, zipBuffer;
149 auto &anchor = fAnchor.emplace();
153 daos_obj_id_t oidMetadata{kOidLowMetadata,
static_cast<decltype(
daos_obj_id_t::hi)
>(this->GetIndex())};
156 if ((
err = cont.
ReadSingleAkey(buffer.get(), anchorSize, oidMetadata, kDistributionKeyDefault,
157 kAttributeKeyAnchor, kCidMetadata))) {
161 anchor.Deserialize(buffer.get(), anchorSize).Unwrap();
163 builder.
SetVersion(anchor.fVersionEpoch, anchor.fVersionMajor, anchor.fVersionMinor, anchor.fVersionPatch);
167 if ((
err = cont.
ReadSingleAkey(zipBuffer.get(), anchor.fNBytesHeader, oidMetadata, kDistributionKeyDefault,
168 kAttributeKeyHeader, kCidMetadata)))
176 if ((
err = cont.
ReadSingleAkey(zipBuffer.get(), anchor.fNBytesFooter, oidMetadata, kDistributionKeyDefault,
177 kAttributeKeyFooter, kCidMetadata)))
185 static std::pair<RDaosContainerNTupleLocator, ROOT::Internal::RNTupleDescriptorBuilder>
186 LocateNTuple(ROOT::Experimental::Internal::RDaosContainer &cont,
const std::string &ntupleName)
188 auto result = std::make_pair(RDaosContainerNTupleLocator(ntupleName), ROOT::Internal::RNTupleDescriptorBuilder());
190 auto &loc = result.first;
191 auto &builder = result.second;
193 if (
int err = loc.InitNTupleDescriptorBuilder(cont, builder); !
err) {
196 throw ROOT::RException(
197 R__FAIL(
"LocateNTuple: ntuple name '" + ntupleName +
"' unavailable in this container."));
210 if (buffer !=
nullptr) {
211 auto bytes =
reinterpret_cast<unsigned char *
>(buffer);
230 return R__FAIL(
"DAOS anchor too short");
232 auto bytes =
reinterpret_cast<const unsigned char *
>(buffer);
249 return result.Unwrap() + 32;
263 static std::once_flag once;
264 std::call_once(once, []() {
266 <<
"Do not store real data with this version of RNTuple!";
278 if (oclass.IsUnknown())
281 auto args = ParseDaosURI(
fURI);
282 auto pool = std::make_shared<RDaosPool>(args.fPoolLabel);
284 fDaosContainer = std::make_unique<RDaosContainer>(pool, args.fContainerLabel,
true);
303 sealedPage =
SealPage(page, *element);
314 auto pageId =
fPageId.fetch_add(1);
319 RDaosKey daosKey = GetPageDaosKey<kDefaultDaosMapping>(
fNTupleIndex, clusterId, physicalColumnId, pageId);
334std::vector<ROOT::RNTupleLocator>
336 const std::vector<bool> &mask)
339 std::vector<RNTupleLocator> locators;
340 auto nPages = mask.size();
341 locators.reserve(nPages);
344 int64_t payloadSz = 0;
347 for (
auto &range : ranges) {
348 for (
auto sealedPageIt = range.fFirst; sealedPageIt != range.fLast; ++sealedPageIt) {
351 const auto pageId =
fPageId.fetch_add(1);
357 GetPageDaosKey<kDefaultDaosMapping>(
fNTupleIndex, clusterId, range.fPhysicalColumnId, pageId);
360 it->second.Insert(daosKey.fAkey, pageIov);
366 locators.push_back(locator);
380 fCounters->fSzWritePayload.Add(payloadSz);
392 std::uint32_t length)
400 bufPageListZip.get(), szPageListZip,
401 daos_obj_id_t{kOidLowPageList, static_cast<decltype(daos_obj_id_t::hi)>(fNTupleIndex)}, kDistributionKeyDefault,
402 offsetData, kCidMetadata);
407 fCounters->fSzWritePayload.Add(
static_cast<int64_t
>(szPageListZip));
428 kDistributionKeyDefault, kAttributeKeyHeader, kCidMetadata);
437 kDistributionKeyDefault, kAttributeKeyFooter, kCidMetadata);
448 buffer.get(), ntplSize,
daos_obj_id_t{kOidLowMetadata, static_cast<decltype(daos_obj_id_t::hi)>(fNTupleIndex)},
449 kDistributionKeyDefault, kAttributeKeyAnchor, kCidMetadata);
452std::unique_ptr<ROOT::Internal::RPageSink>
467 auto args = ParseDaosURI(uri);
468 auto pool = std::make_shared<RDaosPool>(args.fPoolLabel);
469 fDaosContainer = std::make_unique<RDaosContainer>(pool, args.fContainerLabel);
481 std::unique_ptr<unsigned char[]> buffer, zipBuffer;
484 if (!locator.IsValid())
486 R__FAIL(
"Attach: requested ntuple '" +
fNTupleName +
"' is not present in DAOS container."));
489 if (oclass.IsUnknown())
496 auto desc = descBuilder.MoveDescriptor();
498 for (
const auto &cgDesc : desc.GetClusterGroupIterable()) {
502 zipBuffer.get(), cgDesc.GetPageListLocator().GetNBytesOnStorage(), oidPageList, kDistributionKeyDefault,
505 cgDesc.GetPageListLength(), buffer.get());
527 const auto &clusterDescriptor = descriptorGuard->GetClusterDescriptor(clusterId);
528 pageInfo = clusterDescriptor.GetPageRange(physicalColumnId).Find(localIndex.
GetIndexInCluster());
545 GetPageDaosKey<kDefaultDaosMapping>(
fNTupleIndex, clusterId, physicalColumnId,
548 daosKey.fDkey, daosKey.fAkey);
558 const auto clusterId = clusterInfo.
fClusterId;
559 const auto &pageInfo = clusterInfo.
fPageInfo;
562 const auto elementSize = element->
GetSize();
563 const auto elementInMemoryType = element->GetIdentifier().fInMemoryType;
566 auto pageZero =
fPageAllocator->NewPage(elementSize, pageInfo.GetNElements());
567 pageZero.GrowUnchecked(pageInfo.GetNElements());
568 memset(pageZero.GetBuffer(), 0, pageZero.GetNBytes());
569 pageZero.SetWindow(clusterInfo.
fColumnOffset + pageInfo.GetFirstElementIndex(),
571 return fPagePool.RegisterPage(std::move(pageZero),
579 std::unique_ptr<unsigned char[]> directReadBuffer;
583 RDaosKey daosKey = GetPageDaosKey<kDefaultDaosMapping>(
590 sealedPage.
SetBuffer(directReadBuffer.get());
598 if (!cachedPageRef.Get().IsNull())
599 return cachedPageRef;
604 sealedPage.
SetBuffer(onDiskPage->GetAddress());
610 newPage =
UnsealPage(sealedPage, *element).Unwrap();
611 fCounters->fSzUnzip.Add(elementSize * pageInfo.GetNElements());
623 return std::unique_ptr<RPageSourceDaos>(clone);
626std::vector<std::unique_ptr<RCluster>>
629 struct RDaosSealedPageLocator {
633 std::uint64_t fPageId = 0;
634 std::uint64_t fDataSize = 0;
635 std::uint64_t fBufferSize = 0;
642 auto fnPrepareSingleCluster = [&](
const RCluster::RKey &clusterKey,
645 std::vector<RDaosSealedPageLocator> onDiskPages;
647 unsigned clusterBufSz = 0, nPages = 0;
648 auto pageZeroMap = std::make_unique<ROOT::Internal::ROnDiskPageMap>();
650 clusterKey, *pageZeroMap,
653 const auto &pageLocator = pageInfo.
GetLocator();
656 onDiskPages.emplace_back(RDaosSealedPageLocator{clusterId, physicalColumnId, pageNo, pageId,
657 pageLocator.GetNBytesOnStorage(), pageBufferSize});
660 clusterBufSz += pageBufferSize;
663 auto clusterBuffer =
new unsigned char[clusterBufSz];
665 std::make_unique<ROOT::Internal::ROnDiskPageMapHeap>(std::unique_ptr<
unsigned char[]>(clusterBuffer));
668 for (
const auto &sealedLoc : onDiskPages) {
674 d_iov_set(&iov, clusterBuffer, sealedLoc.fBufferSize);
676 RDaosKey daosKey = GetPageDaosKey<kDefaultDaosMapping>(
fNTupleIndex, sealedLoc.fClusterId, sealedLoc.fColumnId,
680 itReq->second.Insert(daosKey.fAkey, iov);
682 clusterBuffer += sealedLoc.fBufferSize;
685 fCounters->fSzReadPayload.Add(clusterBufSz);
687 auto cluster = std::make_unique<RCluster>(clusterId);
688 cluster->Adopt(std::move(pageMap));
689 cluster->Adopt(std::move(pageZeroMap));
691 cluster->SetColumnAvailable(colId);
695 fCounters->fNClusterLoaded.Add(clusterKeys.size());
697 std::vector<std::unique_ptr<ROOT::Internal::RCluster>> clusters;
699 for (
auto key : clusterKeys) {
700 clusters.emplace_back(fnPrepareSingleCluster(key, readRequests));
709 fCounters->fNRead.Add(readRequests.size());
719std::unique_ptr<ROOT::Internal::RPageSource>
#define R__FORWARD_ERROR(res)
Short-hand to return an RResult<T> in an error state (i.e. after checking).
#define R__FAIL(msg)
Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult...
#define R__LOG_WARNING(...)
std::unique_ptr< T[]> MakeUninitArray(std::size_t size)
Make an array of default-initialized elements.
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
UInt_t Hash(const TString &s)
static void Unzip(const void *from, size_t nbytes, size_t dataLen, void *to)
The nbytes parameter provides the size ls of the from buffer.
static RResult< void > DeserializeFooter(const void *buffer, std::uint64_t bufSize, ROOT::Internal::RNTupleDescriptorBuilder &descBuilder)
static RResult< void > DeserializeHeader(const void *buffer, std::uint64_t bufSize, ROOT::Internal::RNTupleDescriptorBuilder &descBuilder)
RDaosObject::DistributionKey_t DistributionKey_t
std::unordered_map< ROidDkeyPair, RWOperation, ROidDkeyPair::Hash > MultiObjectRWOperation_t
int ReadSingleAkey(void *buffer, std::size_t length, daos_obj_id_t oid, DistributionKey_t dkey, AttributeKey_t akey, ObjClassId_t cid)
Read data from a single object attribute key to the given buffer.
RDaosObject::AttributeKey_t AttributeKey_t
std::unique_ptr< ROOT::Internal::RPageSink > CloneAsHidden(std::string_view name, const ROOT::RNTupleWriteOptions &opts) const final
Creates a new sink with the same underlying storage as this but writing to a different RNTuple named ...
std::unique_ptr< RDaosContainer > fDaosContainer
Underlying DAOS container.
RNTupleLocator CommitPageImpl(ColumnHandle_t columnHandle, const ROOT::Internal::RPage &page) final
ntuple_index_t fNTupleIndex
std::uint64_t fNBytesCurrentCluster
Tracks the number of bytes committed to the current cluster.
std::vector< RNTupleLocator > CommitSealedPageVImpl(std::span< RPageStorage::RSealedPageGroup > ranges, const std::vector< bool > &mask) final
Vector commit of preprocessed pages.
std::string fURI
A URI to a DAOS pool of the form 'daos://pool-label/container-label'.
RDaosNTupleAnchor fNTupleAnchor
void WriteNTupleFooter(const void *data, size_t nbytes, size_t lenFooter)
std::uint64_t StageClusterImpl() final
Returns the number of bytes written to storage (excluding metadata).
RNTupleLocator CommitClusterGroupImpl(unsigned char *serializedPageList, std::uint32_t length) final
Returns the locator of the page list envelope of the given buffer that contains the serialized page l...
void WriteNTupleHeader(const void *data, size_t nbytes, size_t lenHeader)
void InitImpl(unsigned char *serializedHeader, std::uint32_t length) final
std::atomic< std::uint64_t > fPageId
Page identifier for the next committed page; it is automatically incremented in CommitSealedPageImpl(...
std::atomic< std::uint64_t > fClusterGroupId
Cluster group counter for the next committed cluster pagelist; incremented in CommitClusterGroupImpl(...
~RPageSinkDaos() override
RNTupleLink CommitDatasetImpl() final
RPageSinkDaos(std::string_view ntupleName, std::string_view uri, const ROOT::RNTupleWriteOptions &options)
RNTupleLocator CommitSealedPageImpl(ROOT::DescriptorId_t physicalColumnId, const RPageStorage::RSealedPage &sealedPage) final
void LoadStreamerInfo() final
Forces the loading of ROOT StreamerInfo from the underlying file.
std::string GetObjectClass() const
Return the object class used for user data OIDs in this ntuple.
std::unique_ptr< RPageSource > CloneImpl() const final
The cloned page source creates a new connection to the pool/container.
ROOT::Internal::RPageRef LoadPageImpl(ColumnHandle_t columnHandle, const RClusterInfo &clusterInfo, ROOT::NTupleSize_t idxInCluster) final
std::vector< std::unique_ptr< ROOT::Internal::RCluster > > LoadClusters(std::span< ROOT::Internal::RCluster::RKey > clusterKeys) final
std::string fURI
A URI to a DAOS pool of the form 'daos://pool-label/container-label'.
ntuple_index_t fNTupleIndex
~RPageSourceDaos() override
std::unique_ptr< RPageSource > OpenWithDifferentAnchor(const ROOT::Internal::RNTupleLink &anchorLink, const ROOT::RNTupleReadOptions &options={}) final
Creates a new PageSource using the same underlying file as this but referring to a different RNTuple,...
void LoadSealedPage(ROOT::DescriptorId_t physicalColumnId, RNTupleLocalIndex localIndex, RSealedPage &sealedPage) final
Read the packed and compressed bytes of a page into the memory buffer provided by sealedPage.
std::unique_ptr< RDaosContainer > fDaosContainer
A container that stores object data (header/footer, pages, etc.).
ROOT::Internal::RCluster * fCurrentCluster
The last cluster from which a page got loaded. Points into fClusterPool->fPool.
RPageSourceDaos(std::string_view ntupleName, std::string_view uri, const ROOT::RNTupleReadOptions &options)
ROOT::RNTupleDescriptor AttachImpl(ROOT::Internal::RNTupleSerializer::EDescriptorDeserializeMode mode) final
LoadStructureImpl() has been called before AttachImpl() is called
DAOS-specific user-tunable settings for storing ntuples.
const std::string & GetObjectClass() const
An in-memory subset of the packed and compressed pages of a cluster.
std::size_t GetSize() const
ROOT::Internal::RColumnElementBase * GetElement() const
Helper class to compress data blocks in the ROOT compression frame format.
static std::size_t Zip(const void *from, std::size_t nbytes, int compression, void *to)
Returns the size of the compressed data, written into the provided output buffer.
Helper class to uncompress data blocks in the ROOT compression frame format.
static void Unzip(const void *from, size_t nbytes, size_t dataLen, void *to)
The nbytes parameter provides the size ls of the from buffer.
void SetVersion(std::uint16_t versionEpoch, std::uint16_t versionMajor, std::uint16_t versionMinor, std::uint16_t versionPatch)
const RNTupleDescriptor & GetDescriptor() const
void SetOnDiskHeaderSize(std::uint64_t size)
void AddToOnDiskFooterSize(std::uint64_t size)
The real footer size also include the page list envelopes.
A helper class for serializing and deserialization of the RNTuple binary format.
static RResult< std::uint32_t > DeserializeString(const void *buffer, std::uint64_t bufSize, std::string &val)
static std::uint32_t SerializeUInt32(std::uint32_t val, void *buffer)
static std::uint32_t DeserializeUInt32(const void *buffer, std::uint32_t &val)
static std::uint32_t SerializeUInt16(std::uint16_t val, void *buffer)
static RResult< void > DeserializePageList(const void *buffer, std::uint64_t bufSize, ROOT::DescriptorId_t clusterGroupId, RNTupleDescriptor &desc, EDescriptorDeserializeMode mode)
static std::uint32_t SerializeString(const std::string &val, void *buffer)
static std::uint32_t DeserializeUInt16(const void *buffer, std::uint16_t &val)
EDescriptorDeserializeMode
static std::uint32_t DeserializeUInt64(const void *buffer, std::uint64_t &val)
static std::uint32_t SerializeUInt64(std::uint64_t val, void *buffer)
A page as being stored on disk, that is packed and compressed.
ROOT::Internal::RNTupleDescriptorBuilder fDescriptorBuilder
RPagePersistentSink(std::string_view ntupleName, const ROOT::RNTupleWriteOptions &options)
std::unique_ptr< RCounters > fCounters
void EnableDefaultMetrics(const std::string &prefix)
Enables the default set of metrics provided by RPageSink.
std::unique_ptr< ROOT::RNTupleWriteOptions > fOptions
const ROOT::RNTupleWriteOptions & GetWriteOptions() const
Returns the sink's write options.
RSealedPage SealPage(const ROOT::Internal::RPage &page, const ROOT::Internal::RColumnElementBase &element)
Helper for streaming a page.
ROOT::Internal::RClusterPool fClusterPool
The cluster pool asynchronously preloads the next few clusters.
ROOT::RNTupleReadOptions fOptions
const RSharedDescriptorGuard GetSharedDescriptorGuard() const
Takes the read lock for the descriptor.
void PrepareLoadCluster(const ROOT::Internal::RCluster::RKey &clusterKey, ROOT::Internal::ROnDiskPageMap &pageZeroMap, std::function< void(ROOT::DescriptorId_t, ROOT::NTupleSize_t, const ROOT::RClusterDescriptor::RPageInfo &)> perPageFunc)
Prepare a page range read for the column set in clusterKey.
void EnableDefaultMetrics(const std::string &prefix)
Enables the default set of metrics provided by RPageSource.
std::unique_ptr< RCounters > fCounters
ROOT::Internal::RPagePool fPagePool
Pages that are unzipped with IMT are staged into the page pool.
RPageSource(std::string_view ntupleName, const ROOT::RNTupleReadOptions &fOptions)
RActivePhysicalColumns fActivePhysicalColumns
The active columns are implicitly defined by the model fields or views.
static RResult< ROOT::Internal::RPage > UnsealPage(const RSealedPage &sealedPage, const ROOT::Internal::RColumnElementBase &element, ROOT::Internal::RPageAllocator &pageAlloc)
Helper for unstreaming a page.
std::unique_ptr< ROOT::Internal::RPageAllocator > fPageAllocator
For the time being, we will use the heap allocator for all sources and sinks. This may change in the ...
static constexpr std::size_t kNBytesPageChecksum
The page checksum is a 64bit xxhash3.
RColumnHandle ColumnHandle_t
The column handle identifies a column with the current open page storage.
Stores information about the cluster in which this page resides.
A page is a slice of a column that is mapped into memory.
std::size_t GetNBytes() const
The space taken by column elements in the buffer.
static const void * GetPageZeroBuffer()
Return a pointer to the page zero buffer used if there is no on-disk data for a particular deferred c...
void SetWindow(const ROOT::NTupleSize_t rangeFirst, const RClusterInfo &clusterInfo)
Seek the page to a certain position of the column.
Base class for all ROOT issued exceptions.
The on-storage metadata of an RNTuple.
const std::string & GetName() const
Addresses a column element or field item relative to a particular cluster, instead of a global NTuple...
ROOT::NTupleSize_t GetIndexInCluster() const
ROOT::DescriptorId_t GetClusterId() const
RNTupleLocator payload that is common for object stores using 64bit location information.
std::uint64_t GetLocation() const
Generic information about the physical location of data.
std::uint64_t GetNBytesOnStorage() const
ELocatorType GetType() const
For non-disk locators, the value for the Type field.
T GetPosition() const
Note that for GetPosition() / SetPosition(), the locator type must correspond (kTypeFile,...
void SetType(ELocatorType type)
void SetPosition(std::uint64_t position)
void SetNBytesOnStorage(std::uint64_t nBytesOnStorage)
Common user-tunable settings for reading RNTuples.
Common user-tunable settings for storing RNTuples.
void ThrowOnError()
Short-hand method to throw an exception in the case of errors.
The class is used as a return type for operations that can fail; wraps a value of type T or an RError...
const char * d_errstr(int rc)
static void d_iov_set(d_iov_t *iov, void *buf, size_t size)
uint16_t daos_oclass_id_t
RNTupleTimer< RNTupleAtomicCounter, RNTupleTickCounter< RNTupleAtomicCounter > > RNTupleAtomicTimer
std::uint32_t ntuple_index_t
ROOT::RLogChannel & NTupleLog()
Log channel for RNTuple diagnostics.
std::unique_ptr< T[]> MakeUninitArray(std::size_t size)
Make an array of default-initialized elements.
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.
std::uint64_t NTupleSize_t
Integer type long enough to hold the maximum number of entries in a column.
A pair of <object ID, distribution key> that can be used to issue a fetch/update request for multiple...
Describes a read/write operation on multiple attribute keys under the same object ID and distribution...
Entry point for an RNTuple in a DAOS container.
std::uint32_t fNBytesFooter
The size of the compressed ntuple footer.
std::uint64_t fVersionAnchor
Allows for evolving the struct in future versions.
std::string fObjClass
The object class for user data OIDs, e.g. SX.
std::uint16_t fVersionPatch
std::uint32_t Serialize(void *buffer) const
std::uint16_t fVersionEpoch
Version of the binary format supported by the writer.
std::uint16_t fVersionMinor
RResult< std::uint32_t > Deserialize(const void *buffer, std::uint32_t bufSize)
std::uint32_t fLenHeader
The size of the uncompressed ntuple header.
static std::uint32_t GetSize()
std::uint32_t fLenFooter
The size of the uncompressed ntuple footer.
std::uint16_t fVersionMajor
std::uint32_t fNBytesHeader
The size of the compressed ntuple header.
Wrap around a daos_oclass_id_t.
static constexpr std::size_t kOCNameMaxLength
This limit is currently not defined in any header and any call to daos_oclass_id2name() within DAOS u...
The identifiers that specifies the content of a (partial) cluster.
ROOT::DescriptorId_t fClusterId
ColumnSet_t fPhysicalColumnSet
On-disk pages within a page source are identified by the column and page number.
Summarizes cluster-level information that are necessary to load a certain page.
std::uint64_t fColumnOffset
The first element number of the page's column in the given cluster.
ROOT::DescriptorId_t fClusterId
ROOT::RClusterDescriptor::RPageInfoExtended fPageInfo
Location of the page on disk.
ROOT::Internal::RColumn * fColumn
ROOT::DescriptorId_t fPhysicalId
A sealed page contains the bytes of a page as written to storage (packed & compressed).
RResult< void > VerifyChecksumIfEnabled() const
void SetBuffer(const void *buffer)
void SetHasChecksum(bool hasChecksum)
const void * GetBuffer() const
void SetNElements(std::uint32_t nElements)
std::size_t GetBufferSize() const
void SetBufferSize(std::size_t bufferSize)
std::size_t GetDataSize() const
Information about a single page in the context of a cluster's page range.
std::uint32_t GetNElements() const
const RNTupleLocator & GetLocator() const