Uses of Class
global.RID

Packages that use RID
global   
heap   
index   
query   
relop   
 

Uses of RID in global
 

Methods in global with parameters of type RID
 void RID.copyRID(RID rid)
          Makes a copy of the given RID.
 

Constructors in global with parameters of type RID
RID(RID rid)
          Copy constructor.
 

Uses of RID in heap
 

Methods in heap that return RID
 RID HFPage.firstRecord()
          Gets the RID of the first record on the page, or null if none.
 RID HFPage.insertRecord(byte[] record)
          Inserts a new record into the page.
 RID HeapFile.insertRecord(byte[] record)
          Inserts a new record into the file and returns its RID.
 RID HFPage.nextRecord(RID curRid)
          Gets the next RID after the given one, or null if no more.
 

Methods in heap with parameters of type RID
 void HFPage.deleteRecord(RID rid)
          Deletes a record from the page, compacting the records space.
 void HeapFile.deleteRecord(RID rid)
          Deletes the specified record from the heap file.
 byte[] HeapScan.getNext(RID rid)
          Gets the next record in the file scan.
 boolean HFPage.hasNext(RID curRid)
          Returns true if the iteration has more elements.
 RID HFPage.nextRecord(RID curRid)
          Gets the next RID after the given one, or null if no more.
 byte[] HFPage.selectRecord(RID rid)
          Selects a record from the page.
 byte[] HeapFile.selectRecord(RID rid)
          Reads a record from the file, given its id.
 void HFPage.updateRecord(RID rid, byte[] record)
          Updates a record on the page.
 void HeapFile.updateRecord(RID rid, byte[] newRecord)
          Updates the specified record in the heap file.
 

Uses of RID in index
 

Fields in index declared as RID
 RID DataEntry.rid
          The data record (i.e.
 

Methods in index that return RID
 RID HashScan.getNext()
          Gets the next entry's record in the index scan.
 RID BucketScan.getNext()
          Gets the next entry's record in the index scan.
 

Methods in index with parameters of type RID
 void HashIndex.deleteEntry(SearchKey key, RID rid)
          Deletes the specified entry from the index file.
 void HashIndex.insertEntry(SearchKey key, RID rid)
          Inserts a new entry into the index file.
 

Constructors in index with parameters of type RID
DataEntry(SearchKey key, RID rid)
          Constructs a DataEntry from the given values.
 

Uses of RID in query
 

Methods in query that return RID
 RID Catalog.getFileRID(java.lang.String fileName, boolean isTable)
          Gets the RID of the file's catalog entry, or null if it doesn't exist.
 

Uses of RID in relop
 

Methods in relop that return RID
 RID FileScan.getLastRID()
          Gets the RID of the last tuple returned.
 RID Tuple.insertIntoFile(HeapFile file)
          Inserts the tuple into the given heap file.