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

S

savePosition() - Method in class simpledb.materialize.SortScan
Saves the position of the current record, so that it can be restored at a later time.
Scan - Interface in simpledb.query
The interface will be implemented by each query scan.
schema() - Method in class simpledb.index.query.IndexJoinPlan
Returns the schema of the index join.
schema() - Method in class simpledb.index.query.IndexSelectPlan
Returns the schema of the data table.
schema() - Method in class simpledb.materialize.GroupByPlan
Returns the schema of the output table.
schema() - Method in class simpledb.materialize.MaterializePlan
Returns the schema of the materialized table, which is the same as in the underlying plan.
schema() - Method in class simpledb.materialize.MergeJoinPlan
Returns the schema of the join, which is the union of the schemas of the underlying queries.
schema() - Method in class simpledb.materialize.SortPlan
Returns the schema of the sorted table, which is the same as in the underlying query.
schema() - Method in class simpledb.multibuffer.MultiBufferProductPlan
Returns the schema of the product, which is the union of the schemas of the underlying queries.
schema() - Method in interface simpledb.query.Plan
Returns the schema of the query.
schema() - Method in class simpledb.query.ProductPlan
Returns the schema of the product, which is the union of the schemas of the underlying queries.
schema() - Method in class simpledb.query.ProjectPlan
Returns the schema of the projection, which is taken from the field list.
schema() - Method in class simpledb.query.SelectPlan
Returns the schema of the selection, which is the same as in the underlying query.
schema() - Method in class simpledb.query.TablePlan
Determines the schema of the table, which is obtainable from the catalog manager.
Schema - Class in simpledb.record
The record schema of a table.
Schema() - Constructor for class simpledb.record.Schema
Creates an empty schema.
schema() - Method in class simpledb.record.TableInfo
Returns the schema of the table's records
Schema.FieldInfo - Class in simpledb.record
 
Schema.FieldInfo(int, int) - Constructor for class simpledb.record.Schema.FieldInfo
 
search(Constant) - Method in class simpledb.index.btree.BTreeDir
Returns the block number of the B-tree leaf block that contains the specified search key.
searchCost(int, int) - Static method in class simpledb.index.btree.BTreeIndex
Estimates the number of block accesses required to find all index records having a particular search key.
searchCost(int, int) - Static method in class simpledb.index.hash.HashIndex
Returns the cost of searching an index file having the specified number of blocks.
SelectPlan - Class in simpledb.query
The Plan class corresponding to the select relational algebra operator.
SelectPlan(Plan, Predicate) - Constructor for class simpledb.query.SelectPlan
Creates a new select node in the query tree, having the specified subquery and predicate.
selectPred(Schema) - Method in class simpledb.query.Predicate
Returns the subpredicate that applies to the specified schema.
SelectScan - Class in simpledb.query
The scan class corresponding to the select relational algebra operator.
SelectScan(Scan, Predicate) - Constructor for class simpledb.query.SelectScan
Creates a select scan having the specified underlying scan and predicate.
setAutoCommit(boolean) - Method in class simpledb.remote.ConnectionAdapter
 
setCatalog(String) - Method in class simpledb.remote.ConnectionAdapter
 
setClientInfo(String, String) - Method in class simpledb.remote.ConnectionAdapter
 
setClientInfo(Properties) - Method in class simpledb.remote.ConnectionAdapter
 
setCursorName(String) - Method in class simpledb.remote.StatementAdapter
 
setEscapeProcessing(boolean) - Method in class simpledb.remote.StatementAdapter
 
setFetchDirection(int) - Method in class simpledb.remote.ResultSetAdapter
 
setFetchDirection(int) - Method in class simpledb.remote.StatementAdapter
 
setFetchSize(int) - Method in class simpledb.remote.ResultSetAdapter
 
setFetchSize(int) - Method in class simpledb.remote.StatementAdapter
 
setFlag(int) - Method in class simpledb.index.btree.BTreePage
Sets the page's flag field to the specified value
setHoldability(int) - Method in class simpledb.remote.ConnectionAdapter
 
setInt(int, int, int, int) - Method in class simpledb.buffer.Buffer
Writes an integer to the specified offset of the buffer's page.
setInt(int, int) - Method in class simpledb.file.Page
Writes an integer to the specified offset on the page.
setInt(String, int) - Method in class simpledb.query.SelectScan
 
setInt(String, int) - Method in class simpledb.query.TableScan
 
setInt(String, int) - Method in interface simpledb.query.UpdateScan
Modifies the field value of the current record.
setInt(String, int) - Method in class simpledb.record.RecordFile
Sets the value of the specified field in the current record.
setInt(String, int) - Method in class simpledb.record.RecordPage
Stores an integer at the specified field of the current record.
SETINT - Static variable in interface simpledb.tx.recovery.LogRecord
The six different types of log record
setInt(Buffer, int, int) - Method in class simpledb.tx.recovery.RecoveryMgr
Writes a setint record to the log, and returns its lsn.
setInt(Block, int, int) - Method in class simpledb.tx.Transaction
Stores an integer at the specified offset of the specified block.
SetIntRecord - Class in simpledb.tx.recovery
 
SetIntRecord(int, Block, int, int) - Constructor for class simpledb.tx.recovery.SetIntRecord
Creates a new setint log record.
SetIntRecord(BasicLogRecord) - Constructor for class simpledb.tx.recovery.SetIntRecord
Creates a log record by reading five other values from the log.
setMaxFieldSize(int) - Method in class simpledb.remote.StatementAdapter
 
setMaxRows(int) - Method in class simpledb.remote.StatementAdapter
 
setPoolable(boolean) - Method in class simpledb.remote.StatementAdapter
 
setQueryTimeout(int) - Method in class simpledb.remote.StatementAdapter
 
setReadOnly(boolean) - Method in class simpledb.remote.ConnectionAdapter
 
setSavepoint() - Method in class simpledb.remote.ConnectionAdapter
 
setSavepoint(String) - Method in class simpledb.remote.ConnectionAdapter
 
setString(int, String, int, int) - Method in class simpledb.buffer.Buffer
Writes a string to the specified offset of the buffer's page.
setString(int, String) - Method in class simpledb.file.Page
Writes a string to the specified offset on the page.
setString(String, String) - Method in class simpledb.query.SelectScan
 
setString(String, String) - Method in class simpledb.query.TableScan
 
setString(String, String) - Method in interface simpledb.query.UpdateScan
Modifies the field value of the current record.
setString(String, String) - Method in class simpledb.record.RecordFile
Sets the value of the specified field in the current record.
setString(String, String) - Method in class simpledb.record.RecordPage
Stores a string at the specified field of the current record.
SETSTRING - Static variable in interface simpledb.tx.recovery.LogRecord
The six different types of log record
setString(Buffer, int, String) - Method in class simpledb.tx.recovery.RecoveryMgr
Writes a setstring record to the log, and returns its lsn.
setString(Block, int, String) - Method in class simpledb.tx.Transaction
Stores a string at the specified offset of the specified block.
SetStringRecord - Class in simpledb.tx.recovery
 
SetStringRecord(int, Block, int, String) - Constructor for class simpledb.tx.recovery.SetStringRecord
Creates a new setstring log record.
SetStringRecord(BasicLogRecord) - Constructor for class simpledb.tx.recovery.SetStringRecord
Creates a log record by reading five other values from the log.
setTransactionIsolation(int) - Method in class simpledb.remote.ConnectionAdapter
 
setTypeMap(Map<String, Class<?>>) - Method in class simpledb.remote.ConnectionAdapter
 
setVal(String, Constant) - Method in class simpledb.query.SelectScan
 
setVal(String, Constant) - Method in class simpledb.query.TableScan
Sets the value of the specified field, as a Constant.
setVal(String, Constant) - Method in interface simpledb.query.UpdateScan
Modifies the field value of the current record.
SimpleConnection - Class in simpledb.remote
An adapter class that wraps RemoteConnection.
SimpleConnection(RemoteConnection) - Constructor for class simpledb.remote.SimpleConnection
 
SimpleDB - Class in simpledb.server
The class that provides system-wide static global values.
SimpleDB() - Constructor for class simpledb.server.SimpleDB
 
simpledb.buffer - package simpledb.buffer
 
simpledb.file - package simpledb.file
 
simpledb.index - package simpledb.index
 
simpledb.index.btree - package simpledb.index.btree
 
simpledb.index.hash - package simpledb.index.hash
 
simpledb.index.planner - package simpledb.index.planner
 
simpledb.index.query - package simpledb.index.query
 
simpledb.log - package simpledb.log
 
simpledb.materialize - package simpledb.materialize
 
simpledb.metadata - package simpledb.metadata
 
simpledb.multibuffer - package simpledb.multibuffer
 
simpledb.opt - package simpledb.opt
 
simpledb.parse - package simpledb.parse
 
simpledb.planner - package simpledb.planner
 
simpledb.query - package simpledb.query
 
simpledb.record - package simpledb.record
 
simpledb.remote - package simpledb.remote
 
simpledb.server - package simpledb.server
 
simpledb.tx - package simpledb.tx
 
simpledb.tx.concurrency - package simpledb.tx.concurrency
 
simpledb.tx.recovery - package simpledb.tx.recovery
 
SimpleDriver - Class in simpledb.remote
The SimpleDB database driver.
SimpleDriver() - Constructor for class simpledb.remote.SimpleDriver
 
SimpleMetaData - Class in simpledb.remote
An adapter class that wraps RemoteMetaData.
SimpleMetaData(RemoteMetaData) - Constructor for class simpledb.remote.SimpleMetaData
 
SimpleResultSet - Class in simpledb.remote
An adapter class that wraps RemoteResultSet.
SimpleResultSet(RemoteResultSet) - Constructor for class simpledb.remote.SimpleResultSet
 
SimpleStatement - Class in simpledb.remote
An adapter class that wraps RemoteStatement.
SimpleStatement(RemoteStatement) - Constructor for class simpledb.remote.SimpleStatement
 
size(String) - Method in class simpledb.file.FileMgr
Returns the number of blocks in the specified file.
size(String) - Method in class simpledb.tx.Transaction
Returns the number of blocks in the specified file.
sLock(Block) - Method in class simpledb.tx.concurrency.ConcurrencyMgr
Obtains an SLock on the block, if necessary.
sLock(Block) - Method in class simpledb.tx.concurrency.LockTable
Grants an SLock on the specified block.
SortPlan - Class in simpledb.materialize
The Plan class for the sort operator.
SortPlan(Plan, List<String>, Transaction) - Constructor for class simpledb.materialize.SortPlan
Creates a sort plan for the specified query.
SortScan - Class in simpledb.materialize
 
SortScan(List<TempTable>, RecordComparator) - Constructor for class simpledb.materialize.SortScan
Creates a sort scan, given a list of 1 or 2 runs.
split(int, int) - Method in class simpledb.index.btree.BTreePage
Splits the page at the specified position.
START - Static variable in interface simpledb.tx.recovery.LogRecord
The six different types of log record
StartRecord - Class in simpledb.tx.recovery
 
StartRecord(int) - Constructor for class simpledb.tx.recovery.StartRecord
Creates a new start log record for the specified transaction.
StartRecord(BasicLogRecord) - Constructor for class simpledb.tx.recovery.StartRecord
Creates a log record by reading one other value from the log.
Startup - Class in simpledb.server
 
Startup() - Constructor for class simpledb.server.Startup
 
StatementAdapter - Class in simpledb.remote
This class implements all of the methods of the Statement interface, by throwing an exception for each one.
StatementAdapter() - Constructor for class simpledb.remote.StatementAdapter
 
StatInfo - Class in simpledb.metadata
Holds three pieces of statistical information about a table: the number of blocks, the number of records, and the number of distinct values for each field.
StatInfo(int, int) - Constructor for class simpledb.metadata.StatInfo
Creates a StatInfo object.
StatMgr - Class in simpledb.metadata
The statistics manager, which is responsible for keeping statistical information about each table.
StatMgr(TableMgr, Transaction) - Constructor for class simpledb.metadata.StatMgr
Creates the statistics manager.
STR_SIZE(int) - Static method in class simpledb.file.Page
The maximum size, in bytes, of a string of length n.
StringConstant - Class in simpledb.query
The class that wraps Java strings as database constants.
StringConstant(String) - Constructor for class simpledb.query.StringConstant
Create a constant by wrapping the specified string.

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