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

S

s_drivers - Static variable in class tests.ROTest
Drivers table schema.
S_FLOAT - Static variable in interface parser.MiniSqlConstants
 
s_groups - Static variable in class tests.ROTest
Groups table schema.
S_IDENTIFIER - Static variable in interface parser.MiniSqlConstants
 
S_INTEGER - Static variable in interface parser.MiniSqlConstants
 
s_rides - Static variable in class tests.ROTest
Rides table schema.
S_STRING - Static variable in interface parser.MiniSqlConstants
 
saveCounts(String) - Method in class tests.TestDriver
Saves the current performance counters, given the description.
schema - Variable in class relop.Iterator
Schema for resulting tuples; must be set in all subclass constructors.
Schema - Class in relop
Each tuple has a schema that defines the logical view of the raw bytes; it describes the types, lengths, offsets, and names of a tuple's fields.
Schema(int) - Constructor for class relop.Schema
Constructs a schema for the given number of fields.
schema - Variable in class relop.Tuple
Schema information for the fields.
SearchKey - Class in global
Provides a general and type-safe way to store and compare index search keys.
SearchKey(Integer) - Constructor for class global.SearchKey
Constructs a new integer search key.
SearchKey(Float) - Constructor for class global.SearchKey
Constructs a new float search key.
SearchKey(String) - Constructor for class global.SearchKey
Constructs a new string search key.
SearchKey(Object) - Constructor for class global.SearchKey
Constructs a search key from a generic value.
SearchKey(SearchKey) - Constructor for class global.SearchKey
Copy constructor for a search key.
SearchKey(byte[], short) - Constructor for class global.SearchKey
Constructs a SearchKey stored in the given data buffer.
Select - Class in query
Execution plan for selecting tuples.
Select(AST_Select) - Constructor for class query.Select
Optimizes the plan, given the parsed query.
SelectClause() - Method in class parser.MiniSql
 
Selection - Class in relop
The selection operator specifies which tuples to retain under a condition; in Minibase, this condition is simply a set of independent predicates logically connected by OR operators.
Selection(Iterator, Predicate...) - Constructor for class relop.Selection
Constructs a selection, given the underlying iterator and predicates.
selectRecord(RID) - Method in class heap.HeapFile
Reads a record from the file, given its id.
selectRecord(RID) - Method in class heap.HFPage
Selects a record from the page.
SelectStatement() - Method in class parser.MiniSql
 
setAllFields(Object...) - Method in class relop.Tuple
Sets all fields, given generic values.
setCharValue(char, int, byte[]) - Static method in class global.Convert
Writes a unicode character into the given byte array at the specified position.
setCharValue(char, int) - Method in class global.Page
Sets a char at the given page offset.
setCurPage(PageId) - Method in class heap.HFPage
Sets the current page's id.
setData(byte[]) - Method in class global.Page
Set accessor for the data byte array.
setDebugStream(PrintStream) - Method in class parser.MiniSqlTokenManager
 
setDesc() - Method in class parser.AST_OrderBy
Sets the DESC state of the last column name added.
setField(int, Object) - Method in class relop.Tuple
Sets a field's value generically.
setField(String, Object) - Method in class relop.Tuple
Sets a field's value generically, by column name.
setFloatFld(int, float) - Method in class relop.Tuple
Sets a float field.
setFloatValue(float, int, byte[]) - Static method in class global.Convert
Writes a float into the given byte array at the specified position.
setFloatValue(float, int) - Method in class global.Page
Sets a float at the given page offset.
setIntFld(int, int) - Method in class relop.Tuple
Sets an integer field.
setIntValue(int, int, byte[]) - Static method in class global.Convert
Writes an integer into the given byte array at the specified position.
setIntValue(int, int) - Method in class global.Page
Sets an int at the given page offset.
setNextPage(PageId) - Method in class heap.HFPage
Sets the next page's id.
setNextPage(PageId) - Method in class index.SortedPage
Sets the next page's id.
setPage(Page) - Method in class global.Page
Sets this page's data array to share the given page's data array.
setPrevPage(PageId) - Method in class heap.HFPage
Sets the previous page's id.
setShortValue(short, int, byte[]) - Static method in class global.Convert
Writes a short into the given byte array at the specified position.
setShortValue(short, int) - Method in class global.Page
Sets a short at the given page offset.
setStringFld(int, String) - Method in class relop.Tuple
Sets a string field (automatically truncates, if necessary).
setStringValue(String, int, byte[]) - Static method in class global.Convert
Writes a string into the given byte array at the specified position.
setStringValue(String, int) - Method in class global.Page
Sets a string at the given page offset.
setTabSize(int) - Method in class parser.SimpleCharStream
 
SimpleCharStream - Class in parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream, String) - Constructor for class parser.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class parser.SimpleCharStream
 
SimpleJoin - Class in relop
The simplest of all join algorithms: nested loops (see textbook, 3rd edition, section 14.4.1, page 454).
SimpleJoin(Iterator, Iterator, Predicate...) - Constructor for class relop.SimpleJoin
Constructs a join, given the left and right iterators and join predicates (relative to the combined schema).
SimpleNode - Class in parser
 
SimpleNode(int) - Constructor for class parser.SimpleNode
 
SimpleNode(MiniSql, int) - Constructor for class parser.SimpleNode
 
size - Variable in class global.SearchKey
The size of the key value (in bytes).
size - Variable in class parser.AST_ColumnType
Size of the column (in bytes).
slotno - Variable in class global.RID
The record's slot number.
SortedPage - Class in index
A base class for index pages that automatically stores records in ascending order by key value.
SortedPage() - Constructor for class index.SortedPage
Default constructor; creates a sorted page with default values.
SortedPage(Page) - Constructor for class index.SortedPage
Constructor that wraps an existing sorted page.
SortKey - Class in global
One term in an ORDER BY clause; i.e.
SortKey(Object, boolean) - Constructor for class global.SortKey
Constructs a SortKey from the given values.
sp - Variable in class parser.JJTMiniSqlState
 
SPECIAL_CHAR - Static variable in interface parser.MiniSqlConstants
 
specialConstructor - Variable in exception parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
SqlAndExpression() - Method in class parser.MiniSql
 
SqlExpression() - Method in class parser.MiniSql
\ SQL Expressions \
SqlPrimaryExpression() - Method in class parser.MiniSql
 
SqlRelationalExpression() - Method in class parser.MiniSql
 
SqlStatement() - Method in class parser.MiniSql
 
SqlValueExpression() - Method in class parser.MiniSql
 
SqlValueExpressionList() - Method in class parser.MiniSql
 
Start() - Method in class parser.MiniSql
\ Top-Level Statements \
STATIC_LEXER_ERROR - Static variable in error parser.TokenMgrError
An attempt wass made to create a second instance of a static token manager.
staticFlag - Static variable in class parser.SimpleCharStream
 
STRING - Static variable in class global.AttrType
 
STRING_KEY - Static variable in class global.SearchKey
Internal type number for String keys.
SUPER_SIZE - Static variable in class tests.ROTest
Size of tables in test3.
SwitchTo(int) - Method in class parser.MiniSqlTokenManager
 
SystemCatalog - Static variable in class global.Minibase
The Minibase System Catalog.

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