|
SwatDB
|
#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 |
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.
| std::uint32_t HashBucketPageHeader::capacity |
Number of allocated slots.
| std::uint32_t HashBucketPageHeader::free_space_begin |
Offset where free space begins in the Page.
| std::uint32_t HashBucketPageHeader::free_space_end |
Offset where free space ends in the Page.
| Level HashBucketPageHeader::local_level |
Local level of the bucket
| PageNum HashBucketPageHeader::next_page |
PageNum of next Page in the hash bucket chain. This field is NOT USED per current implementation.
| PageNum HashBucketPageHeader::prev_page |
PageNum of previous Page in the hash bucket chain. This field is NOT USED per current implementation.
| std::uint32_t HashBucketPageHeader::size |
Number of valid/filled slots.