SlotId getNextUsedSlot(const SlotId start) const
std::string getRecord(const RecordId &record_id) const
std::string operator*() const
Iterator for iterating over the records in a page.
Class which represents a fixed-size database page containing records.
PageId page_number() const
PageIterator(Page *page, const RecordId &record_id)
Slot metadata that tracks where a record is in the data space.
static const SlotId INVALID_SLOT
static const PageId INVALID_NUMBER
bool operator==(const PageIterator &rhs) const
PageIterator & operator++()