All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class global.RID

java.lang.Object
   |
   +----global.RID

public class RID
extends Object
class RID


Variable Index

 o pageNo
public PageId pageNo
 o slotNo
public int slotNo

Constructor Index

 o RID()
default constructor of class
 o RID(PageId, int)
constructor of class

Method Index

 o copyRid(RID)
make a copy of the given rid
 o equals(RID)
Compares two RID object, i.e, this to the rid
 o writeToByteArray(byte[], int)
Write the rid into a byte array at offset

Variables

 o slotNo
 public int slotNo
public int slotNo

 o pageNo
 public PageId pageNo
public PageId pageNo

Constructors

 o RID
 public RID()
default constructor of class

 o RID
 public RID(PageId pageno,
            int slotno)
constructor of class

Methods

 o copyRid
 public void copyRid(RID rid)
make a copy of the given rid

 o writeToByteArray
 public void writeToByteArray(byte ary[],
                              int offset) throws IOException
Write the rid into a byte array at offset

Parameters:
ary - the specified byte array
offset - the offset of byte array to write
Throws: IOException
I/O errors
 o equals
 public boolean equals(RID rid)
Compares two RID object, i.e, this to the rid

Parameters:
rid - RID object to be compared to
Returns:
true is they are equal false if not.

All Packages  Class Hierarchy  This Package  Previous  Next  Index