Uses of Class
simpledb.file.Block

Packages that use Block
simpledb.buffer   
simpledb.file   
simpledb.index.btree   
simpledb.record   
simpledb.tx   
simpledb.tx.concurrency   
 

Uses of Block in simpledb.buffer
 

Methods in simpledb.buffer that return Block
 Block Buffer.block()
          Returns a reference to the disk block that the buffer is pinned to.
 

Methods in simpledb.buffer with parameters of type Block
 Buffer BufferMgr.pin(Block blk)
          Pins a buffer to the specified block, potentially waiting until a buffer becomes available.
 

Uses of Block in simpledb.file
 

Methods in simpledb.file that return Block
 Block Page.append(String filename)
          Appends the contents of the page to the specified file.
 

Methods in simpledb.file with parameters of type Block
 void Page.read(Block blk)
          Populates the page with the contents of the specified disk block.
 void Page.write(Block blk)
          Writes the contents of the page to the specified disk block.
 

Uses of Block in simpledb.index.btree
 

Methods in simpledb.index.btree that return Block
 Block BTreePage.appendNew(int flag)
          Appends a new block to the end of the specified B-tree file, having the specified flag value.
 Block BTreePage.split(int splitpos, int flag)
          Splits the page at the specified position.
 

Constructors in simpledb.index.btree with parameters of type Block
BTreeLeaf(Block blk, TableInfo ti, Constant searchkey, Transaction tx)
          Opens a page to hold the specified leaf block.
BTreePage(Block currentblk, TableInfo ti, Transaction tx)
          Opens a page for the specified B-tree block.
 

Uses of Block in simpledb.record
 

Constructors in simpledb.record with parameters of type Block
RecordPage(Block blk, TableInfo ti, Transaction tx)
          Creates the record manager for the specified block.
 

Uses of Block in simpledb.tx
 

Methods in simpledb.tx that return Block
 Block Transaction.append(String filename, PageFormatter fmtr)
          Appends a new block to the end of the specified file and returns a reference to it.
 

Methods in simpledb.tx with parameters of type Block
 int Transaction.getInt(Block blk, int offset)
          Returns the integer value stored at the specified offset of the specified block.
 String Transaction.getString(Block blk, int offset)
          Returns the string value stored at the specified offset of the specified block.
 void Transaction.pin(Block blk)
          Pins the specified block.
 void Transaction.setInt(Block blk, int offset, int val)
          Stores an integer at the specified offset of the specified block.
 void Transaction.setString(Block blk, int offset, String val)
          Stores a string at the specified offset of the specified block.
 void Transaction.unpin(Block blk)
          Unpins the specified block.
 

Uses of Block in simpledb.tx.concurrency
 

Methods in simpledb.tx.concurrency with parameters of type Block
 void ConcurrencyMgr.sLock(Block blk)
          Obtains an SLock on the block, if necessary.
 void ConcurrencyMgr.xLock(Block blk)
          Obtains an XLock on the block, if necessary.
 



Copyright © 2011. All Rights Reserved.