|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectglobal.RID
class RID
| Field Summary | |
PageId |
pageNo
public PageId pageNo |
int |
slotNo
public int slotNo |
| Constructor Summary | |
RID()
default constructor of class |
|
RID(PageId pageno,
int slotno)
constructor of class |
|
| Method Summary | |
void |
copyRid(RID rid)
make a copy of the given rid |
boolean |
equals(RID rid)
Compares two RID object, i.e, this to the rid |
void |
writeToByteArray(byte[] ary,
int offset)
Write the rid into a byte array at offset |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int slotNo
public PageId pageNo
| Constructor Detail |
public RID()
public RID(PageId pageno,
int slotno)
| Method Detail |
public void copyRid(RID rid)
public void writeToByteArray(byte[] ary,
int offset)
throws java.io.IOException
ary - the specified byte arrayoffset - the offset of byte array to write
java.io.IOException - I/O errorspublic boolean equals(RID rid)
rid - RID object to be compared to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||