| Constructor and Description | 
|---|
HeapPageId(int tableId,
          int pgNo)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object o)
Compares one PageId to another. 
 | 
int | 
getTableId()  | 
int | 
hashCode()  | 
int | 
pageNumber()  | 
int[] | 
serialize()
Return a representation of this object as an array of
  integers, for writing to disk. 
 | 
public HeapPageId(int tableId,
                  int pgNo)
tableId - The table that is being referencedpgNo - The page number in that table.public int getTableId()
getTableId in interface PageIdpublic int pageNumber()
pageNumber in interface PageIdpublic int hashCode()
hashCode in interface PageIdhashCode in class java.lang.ObjectBufferPoolpublic boolean equals(java.lang.Object o)