std::vector< RPage > fPages
TODO(jblomer): should be an efficient index structure that allows.
RPageRef GetPage(ColumnId_t columnId, std::type_index inMemoryType, NTupleSize_t globalIndex)
Tries to find the page corresponding to column and index in the cache.
std::vector< std::int32_t > fReferences
void ReleasePage(const RPage &page)
Give back a page to the pool and decrease the reference counter.
RPageRef RegisterPage(RPage page, std::type_index inMemoryType)
Adds a new page to the pool.
void PreloadPage(RPage page, std::type_index inMemoryType)
Like RegisterPage() but the reference counter is initialized to 0.
std::vector< RPageInfo > fPageInfos
A page is a slice of a column that is mapped into memory.