A B C D E F G H I J L M N O P Q R S T U V W X

R

read(Block, ByteBuffer) - Method in class simpledb.file.FileMgr
Reads the contents of a disk block into a bytebuffer.
read(Block) - Method in class simpledb.file.Page
Populates the page with the contents of the specified disk block.
RecordComparator - Class in simpledb.materialize
A comparator for scans.
RecordComparator(List<String>) - Constructor for class simpledb.materialize.RecordComparator
Creates a comparator using the specified fields, using the ordering implied by its iterator.
RecordFile - Class in simpledb.record
Manages a file of records.
RecordFile(TableInfo, Transaction) - Constructor for class simpledb.record.RecordFile
Constructs an object to manage a file of records.
RecordFormatter - Class in simpledb.record
An object that can format a page to look like a block of empty records.
RecordFormatter(TableInfo) - Constructor for class simpledb.record.RecordFormatter
Creates a formatter for a new page of a table.
recordLength() - Method in class simpledb.record.TableInfo
Returns the length of a record, in bytes.
RecordPage - Class in simpledb.record
Manages the placement and access of records in a block.
RecordPage(Block, TableInfo, Transaction) - Constructor for class simpledb.record.RecordPage
Creates the record manager for the specified block.
recordsOutput() - Method in class simpledb.index.query.IndexJoinPlan
Estimates the number of output records in the join.
recordsOutput() - Method in class simpledb.index.query.IndexSelectPlan
Estimates the number of output records in the index selection, which is the same as the number of search key values for the index.
recordsOutput() - Method in class simpledb.materialize.GroupByPlan
Returns the number of groups.
recordsOutput() - Method in class simpledb.materialize.MaterializePlan
Returns the number of records in the materialized table, which is the same as in the underlying plan.
recordsOutput() - Method in class simpledb.materialize.MergeJoinPlan
Returns the number of records in the join.
recordsOutput() - Method in class simpledb.materialize.SortPlan
Returns the number of records in the sorted table, which is the same as in the underlying query.
recordsOutput() - Method in class simpledb.metadata.IndexInfo
Returns the estimated number of records having a search key.
recordsOutput() - Method in class simpledb.metadata.StatInfo
Returns the estimated number of records in the table.
recordsOutput() - Method in class simpledb.multibuffer.MultiBufferProductPlan
Estimates the number of output records in the product.
recordsOutput() - Method in interface simpledb.query.Plan
Returns an estimate of the number of records in the query's output table.
recordsOutput() - Method in class simpledb.query.ProductPlan
Estimates the number of output records in the product.
recordsOutput() - Method in class simpledb.query.ProjectPlan
Estimates the number of output records in the projection, which is the same as in the underlying query.
recordsOutput() - Method in class simpledb.query.SelectPlan
Estimates the number of output records in the selection, which is determined by the reduction factor of the predicate.
recordsOutput() - Method in class simpledb.query.TablePlan
Estimates the number of records in the table, which is obtainable from the statistics manager.
recover() - Method in class simpledb.tx.recovery.RecoveryMgr
Recovers uncompleted transactions from the log, then writes a quiescent checkpoint record to the log and flushes it.
recover() - Method in class simpledb.tx.Transaction
Flushes all modified buffers.
RecoveryMgr - Class in simpledb.tx.recovery
The recovery manager.
RecoveryMgr(int) - Constructor for class simpledb.tx.recovery.RecoveryMgr
Creates a recovery manager for the specified transaction.
reductionFactor(Plan) - Method in class simpledb.query.Predicate
Calculates the extent to which selecting on the predicate reduces the number of records output by a query.
reductionFactor(Plan) - Method in class simpledb.query.Term
Calculates the extent to which selecting on the term reduces the number of records output by a query.
refreshRow() - Method in class simpledb.remote.ResultSetAdapter
 
relative(int) - Method in class simpledb.remote.ResultSetAdapter
 
release() - Method in class simpledb.tx.concurrency.ConcurrencyMgr
Releases all locks by asking the lock table to unlock each one.
releaseSavepoint(Savepoint) - Method in class simpledb.remote.ConnectionAdapter
 
RemoteConnection - Interface in simpledb.remote
The RMI remote interface corresponding to Connection.
RemoteConnectionImpl - Class in simpledb.remote
The RMI server-side implementation of RemoteConnection.
RemoteConnectionImpl() - Constructor for class simpledb.remote.RemoteConnectionImpl
Creates a remote connection and begins a new transaction for it.
RemoteDriver - Interface in simpledb.remote
The RMI remote interface corresponding to Driver.
RemoteDriverImpl - Class in simpledb.remote
The RMI server-side implementation of RemoteDriver.
RemoteDriverImpl() - Constructor for class simpledb.remote.RemoteDriverImpl
 
RemoteMetaData - Interface in simpledb.remote
The RMI remote interface corresponding to ResultSetMetaData.
RemoteMetaDataImpl - Class in simpledb.remote
The RMI server-side implementation of RemoteMetaData.
RemoteMetaDataImpl(Schema) - Constructor for class simpledb.remote.RemoteMetaDataImpl
Creates a metadata object that wraps the specified schema.
RemoteResultSet - Interface in simpledb.remote
The RMI remote interface corresponding to ResultSet.
RemoteResultSetImpl - Class in simpledb.remote
The RMI server-side implementation of RemoteResultSet.
RemoteResultSetImpl(Plan, RemoteConnectionImpl) - Constructor for class simpledb.remote.RemoteResultSetImpl
Creates a RemoteResultSet object.
RemoteStatement - Interface in simpledb.remote
The RMI remote interface corresponding to Statement.
RemoteStatementImpl - Class in simpledb.remote
The RMI server-side implementation of RemoteStatement.
RemoteStatementImpl(RemoteConnectionImpl) - Constructor for class simpledb.remote.RemoteStatementImpl
 
remove() - Method in class simpledb.log.LogIterator
 
remove() - Method in class simpledb.tx.recovery.LogRecordIterator
 
restorePosition() - Method in class simpledb.materialize.SortScan
Moves the scan to its previously-saved position.
ResultSetAdapter - Class in simpledb.remote
This class implements all of the methods of the ResultSet interface, by throwing an exception for each one.
ResultSetAdapter() - Constructor for class simpledb.remote.ResultSetAdapter
 
ResultSetMetaDataAdapter - Class in simpledb.remote
This class implements all of the methods of the ResultSetMetaData interface, by throwing an exception for each one.
ResultSetMetaDataAdapter() - Constructor for class simpledb.remote.ResultSetMetaDataAdapter
 
RID - Class in simpledb.record
An identifier for a record within a file.
RID(int, int) - Constructor for class simpledb.record.RID
Creates a RID for the record having the specified ID in the specified block.
rollback() - Method in class simpledb.remote.ConnectionAdapter
 
rollback(Savepoint) - Method in class simpledb.remote.ConnectionAdapter
 
rollback() - Method in class simpledb.remote.RemoteConnectionImpl
Rolls back the current transaction, and begins a new one.
ROLLBACK - Static variable in interface simpledb.tx.recovery.LogRecord
The six different types of log record
rollback() - Method in class simpledb.tx.recovery.RecoveryMgr
Writes a rollback record to the log, and flushes it to disk.
rollback() - Method in class simpledb.tx.Transaction
Rolls back the current transaction.
RollbackRecord - Class in simpledb.tx.recovery
The ROLLBACK log record.
RollbackRecord(int) - Constructor for class simpledb.tx.recovery.RollbackRecord
Creates a new rollback log record for the specified transaction.
RollbackRecord(BasicLogRecord) - Constructor for class simpledb.tx.recovery.RollbackRecord
Creates a log record by reading one other value from the log.
rowDeleted() - Method in class simpledb.remote.ResultSetAdapter
 
rowInserted() - Method in class simpledb.remote.ResultSetAdapter
 
rowUpdated() - Method in class simpledb.remote.ResultSetAdapter
 

A B C D E F G H I J L M N O P Q R S T U V W X