|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectsimpledb.HeapPageId
public class HeapPageId
Unique identifier for HeapPage objects.
| Constructor Summary | |
|---|---|
HeapPageId(int tableId,
int pgNo)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeapPageId(int tableId,
int pgNo)
tableId - The table that is being referencedpgNo - The page number in that table.| Method Detail |
|---|
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)
equals in interface PageIdequals in class java.lang.Objecto - The object to compare against (must be a PageId)
public int[] serialize()
serialize in interface PageId
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||