A page is a slice of a column that is mapped into memory.
The page provides an opaque memory buffer for uncompressed, unpacked data. It does not 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/cluster. The memory buffer is not managed by the page. It is normally registered with the page pool and allocated/freed by the page storage.
Classes | |
class | RClusterInfo |
Stores information about the cluster in which this page resides. More... | |
Public Member Functions | |
RPage () | |
RPage (ColumnId_t columnId, void *buffer, ClusterSize_t::ValueType capacity, ClusterSize_t::ValueType elementSize) | |
~RPage ()=default | |
bool | Contains (const RClusterIndex &clusterIndex) const |
bool | Contains (NTupleSize_t globalIndex) const |
void * | GetBuffer () const |
ClusterSize_t::ValueType | GetCapacity () const |
The total space available in the page. More... | |
const RClusterInfo & | GetClusterInfo () const |
ClusterSize_t::ValueType | GetClusterRangeFirst () const |
ClusterSize_t::ValueType | GetClusterRangeLast () const |
ColumnId_t | GetColumnId () |
ClusterSize_t::ValueType | GetElementSize () const |
NTupleSize_t | GetGlobalRangeFirst () const |
NTupleSize_t | GetGlobalRangeLast () const |
ClusterSize_t::ValueType | GetNElements () const |
ClusterSize_t::ValueType | GetSize () const |
The space taken by column elements in the buffer. More... | |
bool | IsNull () const |
bool | operator!= (const RPage &other) 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 (ClusterSize_t::ValueType nElements) |
Return a pointer after the last element that has space for nElements new elements. More... | |
#include <ROOT/RPage.hxx>
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |