SwatDB
|
Public Attributes | |
std::uint32_t | size |
std::uint32_t | capacity |
char | bitmap [DISK_HEADER_BITMAP_SIZE] |
A Fileheader struct to be written to the beginning of Unix files. Contains serialized metadata about the file.
char DiskManager::SerializedFileHeader::bitmap[DISK_HEADER_BITMAP_SIZE] |
Bitmap of alloted pages. If 1, corresponding page is allocated. If 0 free. Valid number of bits only extend to capacity number of bits.
std::uint32_t DiskManager::SerializedFileHeader::capacity |
The total number of pages alloted in the relation/index file.
std::uint32_t DiskManager::SerializedFileHeader::size |
The number of valid/allocated pages out of alloted pages.