#include <RID.h>
Identifies a record id within a heap file. Contains a page id and a slot number.
Public Member Functions | |
| RID () | |
| Default constructor. | |
| RID (int pageId, int slotNum) | |
| Constructor. | |
Public Attributes | |
| int | pageId |
| Page identification number. | |
| int | slotNum |
| Slot number with a heap file page. | |
| RID::RID | ( | ) |
Default constructor.
Assigns INVALID_PAGE and INVALID_SLOT as values.
| RID::RID | ( | int | pageId, | |
| int | slotNum | |||
| ) |
Constructor.
| pageId | the page id. | |
| slotNum | the slot number. |
1.4.7