63 auto descriptorGuard =
fPageSource->GetSharedDescriptorGuard();
77 void *dst =
fWritePage[otherIdx].GrowUnchecked(thisPage.GetNElements());
78 memcpy(dst, thisPage.GetBuffer(), thisPage.GetNBytes());
#define R__FAIL(msg)
Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult...
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
void ConnectPageSink(DescriptorId_t fieldId, RPageSink &pageSink, NTupleSize_t firstElementIndex=0U)
Connect the column to a page sink.
std::unique_ptr< RColumnElementBase > fElement
Used to pack and unpack pages on writing/reading.
ColumnId_t fColumnIdSource
The column id is used to find matching pages with content when reading.
int fWritePageIdx
Index of the current write page.
RPageSource * fPageSource
RPageStorage::ColumnHandle_t fHandleSource
NTupleSize_t fNElements
The number of elements written resp. available in the column.
void MapPage(const NTupleSize_t index)
std::uint32_t fIndex
Columns belonging to the same field are distinguished by their order.
void ConnectPageSource(DescriptorId_t fieldId, RPageSource &pageSource)
Connect the column to a page source.
std::uint32_t fApproxNElementsPerPage
For writing, the targeted number of elements, given by fApproxNElementsPerPage (in the write options)...
RColumn(const RColumnModel &model, std::uint32_t index)
RPageStorage::ColumnHandle_t fHandleSink
RPage fWritePage[2]
A set of open pages into which new elements are being written.
NTupleSize_t GetNElements() const
RPage fReadPage
The currently mapped page for reading.
NTupleSize_t fFirstElementIndex
Global index of the first element in this column; usually == 0, unless it is a deferred column.
Abstract interface to write data into an ntuple.
Abstract interface to read data from an ntuple.
A page is a slice of a column that is mapped into memory.
Addresses a column element or field item relative to a particular cluster, instead of a global NTuple...
Holds the static meta-data of an RNTuple column.
Base class for all ROOT issued exceptions.
std::uint64_t NTupleSize_t
Integer type long enough to hold the maximum number of entries in a column.
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.