SwatDB
Public Attributes | List of all members
HeapPageHeader Struct Reference

#include <heappage.h>

Public Attributes

PageNum prev_page
 
PageNum next_page
 
std::uint32_t free_space_begin
 
std::uint32_t free_space_end
 
std::uint32_t size
 
std::uint32_t capacity
 

Detailed Description

Struct for the header metadata of HeapPage object. The header is casted on top of the Page data array, from the beginning of the array. Must follow 64bit alignment.

Member Data Documentation

◆ capacity

std::uint32_t HeapPageHeader::capacity

Number of allocated slots.

◆ free_space_begin

std::uint32_t HeapPageHeader::free_space_begin

Offset where free space begins in the Page.

◆ free_space_end

std::uint32_t HeapPageHeader::free_space_end

Offset where free space ends in the Page.

◆ next_page

PageNum HeapPageHeader::next_page

PageNum of next Page in the HeapFile.

◆ prev_page

PageNum HeapPageHeader::prev_page

PageNum of previous Page in the HeapFile.

◆ size

std::uint32_t HeapPageHeader::size

Number of valid/filled slots.


The documentation for this struct was generated from the following file: