simpledb
Class RecordID

java.lang.Object
  extended by simpledb.RecordID

public class RecordID
extends java.lang.Object

A RecordID is a reference to a specific tuple on a specific page of a specific table.


Constructor Summary
RecordID(PageId pid, int tupleno)
          Constructor.
 
Method Summary
 PageId pageid()
           
 int tupleno()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordID

public RecordID(PageId pid,
                int tupleno)
Constructor.

Parameters:
pid - the pageid of the page on which the tuple resides
tupleno - the tuple number within the page.
Method Detail

tupleno

public int tupleno()
Returns:
the tuple number this RecordId references.

pageid

public PageId pageid()
Returns:
the table id this RecordId references.