Class RID

java.lang.Object
  extended by RID

public class RID
extends java.lang.Object

Record identifier. Identifies a record id within a heap file. Contains a page id and a slot number.

Author:
Dave Musicant, with considerable material reused from the UW-Madison Minibase project

Field Summary
 int pageId
          Page identification number.
 int slotNum
          Slot number with a heap file page.
 
Constructor Summary
RID(int pageId, int slotNum)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageId

public int pageId
Page identification number.


slotNum

public int slotNum
Slot number with a heap file page.

Constructor Detail

RID

public RID(int pageId,
           int slotNum)
Constructor.

Parameters:
pageId - the page id.
slotNum - the slot number.