SwatDB
Loading...
Searching...
No Matches
Public Attributes | List of all members
HashBucketPageHeader Struct Reference

#include <hashbucketpage.h>

Public Attributes

Level local_level
 
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 HashBucketPage. 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 HashBucketPageHeader::capacity

Number of allocated slots.

◆ free_space_begin

std::uint32_t HashBucketPageHeader::free_space_begin

Offset where free space begins in the Page.

◆ free_space_end

std::uint32_t HashBucketPageHeader::free_space_end

Offset where free space ends in the Page.

◆ local_level

Level HashBucketPageHeader::local_level

Local level of the bucket

◆ next_page

PageNum HashBucketPageHeader::next_page

PageNum of next Page in the hash bucket chain. This field is NOT USED per current implementation.

◆ prev_page

PageNum HashBucketPageHeader::prev_page

PageNum of previous Page in the hash bucket chain. This field is NOT USED per current implementation.

◆ size

std::uint32_t HashBucketPageHeader::size

Number of valid/filled slots.


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