PageInfo contains infomation about a data page in a HeapFile,
and is maintained by DirPage.
struct PageInfo {
PageID pid;
short spaceAvailable;
short numOfRecords;
}
pid is the PageID of the HeapPage, spaceAvailable and
numOfRecords indicates the amount of free space left on the HeapPage
and the number of records in the page respectively.