Header metadata in a page. More...
#include <page.h>
Public Member Functions | |
bool | operator== (const PageHeader &rhs) const |
Public Attributes | |
std::uint16_t | free_space_lower_bound |
std::uint16_t | free_space_upper_bound |
SlotId | num_slots |
SlotId | num_free_slots |
PageId | current_page_number |
PageId | next_page_number |
Header metadata in a page.
Header metadata in each page which tracks where space has been used and contains a pointer to the next page in the file.
bool badgerdb::PageHeader::operator== | ( | const PageHeader & | rhs | ) | const [inline] |
Returns true if this page header is equal to the other.
rhs | Other page header to compare against. |
Definition at line 66 of file page.h.
{ return num_slots == rhs.num_slots && num_free_slots == rhs.num_free_slots && current_page_number == rhs.current_page_number && next_page_number == rhs.next_page_number; }
std::uint16_t badgerdb::PageHeader::free_space_lower_bound |
std::uint16_t badgerdb::PageHeader::free_space_upper_bound |