ROOT 6.18/05 Reference Guide |
A page is a fixed size slice of a column that is mapped into memory.
The page provides a fixed-size opaque memory buffer for uncompressed data. It does not know how to interpret the contents but it does now about the size (and thus the number) of the elements inside as well as the element number range within the backing column. The memory buffer is not managed by the page but normally by the page pool.
Classes | |
class | RClusterInfo |
Stores information about the cluster in which this page resides. More... | |
Public Member Functions | |
RPage () | |
RPage (ColumnId_t columnId, void *buffer, std::size_t capacity, std::size_t elementSize) | |
~RPage ()=default | |
bool | Contains (NTupleSize_t index) const |
void * | GetBuffer () const |
std::size_t | GetCapacity () const |
The total space available in the page. More... | |
const RClusterInfo & | GetClusterInfo () const |
std::int64_t | GetColumnId () |
NTupleSize_t | GetNElements () const |
NTupleSize_t | GetRangeFirst () const |
NTupleSize_t | GetRangeLast () const |
std::size_t | GetSize () const |
The space taken by column elements in the buffer. More... | |
bool | IsNull () const |
bool | operator== (const RPage &other) const |
void | Reset (NTupleSize_t rangeFirst) |
Forget all currently stored elements (size == 0) and set a new starting index. More... | |
void | ResetCluster (const RClusterInfo &clusterInfo) |
void | SetWindow (const NTupleSize_t rangeFirst, const RClusterInfo &clusterInfo) |
Seek the page to a certain position of the column. More... | |
void * | TryGrow (std::size_t nElements) |
Return a pointer after the last element that has space for nElements new elements. More... | |
Private Attributes | |
void * | fBuffer |
std::size_t | fCapacity |
RClusterInfo | fClusterInfo |
ColumnId_t | fColumnId |
std::size_t | fElementSize |
NTupleSize_t | fNElements |
NTupleSize_t | fRangeFirst |
std::size_t | fSize |
#include <ROOT/RPage.hxx>
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |