PageHeaderData defines the header of every virtual file data page.
More...
#include <storage/FileManager.h>
PageHeaderData defines the header of every virtual file data page.
Any class other than the FileManager shall NEVER modify the PageHeaderData but may inspect its content using the member functions.
Impl. note: currently sizeof(PageHeaderData) == 16, but do not assume that any place other than the FileManager.
◆ GetFileId()
| constexpr FileId taco::PageHeaderData::GetFileId |
( |
| ) |
const |
|
inlineconstexpr |
◆ GetNextPageNumber()
| PageNumber taco::PageHeaderData::GetNextPageNumber |
( |
| ) |
const |
|
inline |
Returns the next page number.
You may ignore any concurrency control related description.
◆ GetPrevPageNumber()
| PageNumber taco::PageHeaderData::GetPrevPageNumber |
( |
| ) |
const |
|
inline |
Returns the previous page number.
You may ignore any concurrency control related description.
◆ IsAllocated()
| constexpr bool taco::PageHeaderData::IsAllocated |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsFMMetaPage()
| constexpr bool taco::PageHeaderData::IsFMMetaPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsMetaPage()
| constexpr bool taco::PageHeaderData::IsMetaPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsVFileDataPage()
| constexpr bool taco::PageHeaderData::IsVFileDataPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsVFileMetaPage()
| constexpr bool taco::PageHeaderData::IsVFileMetaPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsVFilePage()
| constexpr bool taco::PageHeaderData::IsVFilePage |
( |
| ) |
const |
|
inlineconstexpr |
◆ File
◆ FileManager
◆ FLAG_META_PAGE
| constexpr uint16_t taco::PageHeaderData::FLAG_META_PAGE = 0x1 |
|
staticconstexprprivate |
◆ FLAG_VFILE_PAGE
| constexpr uint16_t taco::PageHeaderData::FLAG_VFILE_PAGE = 0x2 |
|
staticconstexprprivate |
◆ m_fid
| FileId taco::PageHeaderData::m_fid |
|
private |
◆ m_flags
| uint16_t taco::PageHeaderData::m_flags |
|
private |
◆ m_next_pid
| atomic<PageNumber> taco::PageHeaderData::m_next_pid |
|
private |
◆ m_prev_pid
| atomic<PageNumber> taco::PageHeaderData::m_prev_pid |
|
private |
◆ m_reserved
| uint16_t taco::PageHeaderData::m_reserved |
|
private |
The documentation for this class was generated from the following file: