All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

ADD. Static variable in interface Parser.SQLParserConstants
add_escapes(String). Method in class Parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addEscapes(String). Static method in class Parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
AdditiveExpression(). Static method in class Parser.SQLParser
adjustBeginLineColumn(int, int). Static method in class Parser.ASCII_CharStream
Method to adjust line and column numbers for the start of a token.
Alias(). Static method in class Parser.SQLParser
AS. Static variable in interface Parser.SQLParserConstants
ASCII_CharStream(InputStream, int, int). Constructor for class Parser.ASCII_CharStream
ASCII_CharStream(InputStream, int, int, int). Constructor for class Parser.ASCII_CharStream

B

backup(int). Static method in class Parser.ASCII_CharStream
beginColumn. Variable in class Parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine. Variable in class Parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken(). Static method in class Parser.ASCII_CharStream
BooleanDesc(). Constructor for class Types.BooleanDesc
bufpos. Static variable in class Parser.ASCII_CharStream

C

collect(Vector, Vector). Method in class Expressions.Constant
collect(Vector, Vector). Method in interface Expressions.Expression
Append the exclusive (as defined above) expressions to the vector of expressions
collect(Vector, Vector). Method in class Expressions.Operator
collect(Vector, Vector). Method in class Expressions.Selection
compares(DTE_String). Method in class Types.DTE_String
Constant(DTE_Type). Constructor for class Expressions.Constant
Constant(TypeDesc, DTE_Type). Constructor for class Expressions.Constant
containsKey(String). Method in class Expressions.SymbolTable
copyTo(DTE_Type). Method in class Types.DTE_Boolean
copyTo(DTE_Type). Method in class Types.DTE_Double
copyTo(DTE_Type). Method in class Types.DTE_Int
copyTo(DTE_Type). Method in class Types.DTE_String
copyTo(DTE_Type). Method in class Types.DTE_Type
copyTo(Tuple). Method in class Types.Tuple
This function assume that the two Tuple objects have the same schema.
createDataSource(RelationId). Method in class DataSources.RelationManager
createExec(Vector[]). Method in class Expressions.Constant
createExec(Vector[]). Method in interface Expressions.Expression
Once the expression is correctly typechecked and the query is optimized, this expression will generate an executable version of itself so that the actual operations like additions and multiplications can be executed at runtime.
createExec(Vector[]). Method in class Expressions.Operator
createExec(Vector[]). Method in class Expressions.Selection
createIterator(). Method in class Optimizer.FileScanNode
createIterator(). Method in class Optimizer.NLJoinNode
createIterator(). Method in class Optimizer.PlanNode
createPredList(Vector). Method in class Expressions.Query
createProjList(Vector). Method in class Expressions.Query
curChar. Static variable in class Parser.SQLParserTokenManager
currentToken. Variable in class Parser.ParseException
This is the last token that has been consumed successfully.

D

DEFAULT. Static variable in interface Parser.SQLParserConstants
disable_tracing(). Static method in class Parser.SQLParser
Done(). Static method in class Parser.ASCII_CharStream
DOUBLE. Static variable in interface Parser.SQLParserConstants
DoubleDesc(). Constructor for class Types.DoubleDesc
DTE_Boolean(). Constructor for class Types.DTE_Boolean
DTE_Boolean(boolean). Constructor for class Types.DTE_Boolean
DTE_Double(). Constructor for class Types.DTE_Double
DTE_Double(double). Constructor for class Types.DTE_Double
DTE_Int(). Constructor for class Types.DTE_Int
DTE_Int(int). Constructor for class Types.DTE_Int
DTE_String(). Constructor for class Types.DTE_String
DTE_Type(). Constructor for class Types.DTE_Type

E

enable_tracing(). Static method in class Parser.SQLParser
endColumn. Variable in class Parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine. Variable in class Parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EOF. Static variable in interface Parser.SQLParserConstants
eol. Variable in class Parser.ParseException
The end of line string for this machine.
equals(DTE_String). Method in class Types.DTE_String
equals(Object). Method in class Expressions.Operator
equals(Object). Method in class Expressions.Selection
evaluate(Tuple, Tuple). Method in class Expressions.ExecConst
evaluate(Tuple, Tuple). Method in interface Expressions.ExecExpr
ExecExpr always evaluates to a single types.
evaluate(Tuple, Tuple). Method in class Expressions.ExecOperator
evaluate(Tuple, Tuple). Method in class Expressions.ExecSelect
evaluateList(ExecExpr[], Tuple, Tuple). Static method in class Expressions.ListOp
exclusive(Vector). Method in class Expressions.Constant
exclusive(Vector). Method in interface Expressions.Expression
Returns true if this expression (including all of its children) refers only to tables listed in vector of aliases
exclusive(Vector). Method in class Expressions.Operator
exclusive(Vector). Method in class Expressions.Selection
ExecConst(DTE_Type). Constructor for class Expressions.ExecConst
ExecOperator(EvalOperator, ExecExpr, ExecExpr). Constructor for class Expressions.ExecOperator
ExecSelect(int, int). Constructor for class Expressions.ExecSelect
expectedTokenSequences. Variable in class Parser.ParseException
Each entry in this array is an array of integers.

F

FileScanIterator(String, TypeDesc[]). Constructor for class Iterators.FileScanIterator
FileScanNode(TableAlias, Query). Constructor for class Optimizer.FileScanNode
FROM. Static variable in interface Parser.SQLParserConstants
FromClause(). Static method in class Parser.SQLParser

G

generateParseException(). Static method in class Parser.SQLParser
get(String). Method in class Expressions.SymbolTable
get_fields(). Method in class Types.Tuple
getAlias(). Method in class DataSources.TableAlias
getAttributeNames(). Method in class Types.Schema
getBeginColumn(). Static method in class Parser.ASCII_CharStream
getBeginLine(). Static method in class Parser.ASCII_CharStream
getColumn(). Static method in class Parser.ASCII_CharStream
getDataSource(). Method in class DataSources.TableAlias
getEndColumn(). Static method in class Parser.ASCII_CharStream
getEndLine(). Static method in class Parser.ASCII_CharStream
getFileName(). Method in class DataSources.StandardTable
getFirst(). Method in class Iterators.FileScanIterator
getFirst should be called before getNext
getFirst(). Method in interface Iterators.Iterator
getFirst should be called before getNext
getFirst(). Method in class Iterators.MemoryLoader
getFirst(). Method in class Iterators.NLjoinIterator
getFirst(). Method in class Iterators.SelProj
getFromClause(). Method in class Expressions.Query
GetImage(). Static method in class Parser.ASCII_CharStream
getLine(). Static method in class Parser.ASCII_CharStream
getLocalId(). Method in class DataSources.RelationId
getMessage(). Method in class Parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage(). Method in class Parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNext(). Method in class Iterators.FileScanIterator
getNext returns a valid tuple object or null to signal the end of iterator
getNext(). Method in interface Iterators.Iterator
getNext returns a valid tuple object or null to signal the end of iterator
getNext(). Method in class Iterators.MemoryLoader
getNext(). Method in class Iterators.NLjoinIterator
getNext(). Method in class Iterators.SelProj
getNextToken(). Static method in class Parser.SQLParser
getNextToken(). Static method in class Parser.SQLParserTokenManager
getnumFlds(). Method in class Types.Schema
getOperator(String, TypeDesc). Method in class Types.BooleanDesc
getOperator(String, TypeDesc). Method in class Types.DoubleDesc
getOperator(String, TypeDesc). Method in class Types.IntDesc
getOperator(String, TypeDesc). Method in class Types.StringDesc
getOperator(String, TypeDesc). Method in interface Types.TypeDesc
getProjectList(). Method in interface Expressions.OptNode
getRelationId(). Method in class DataSources.TableAlias
getSchema(). Method in interface DataSources.DataSource
getSchema(). Method in class DataSources.StandardTable
getSelectClause(). Method in class Expressions.Query
getServerId(). Method in class DataSources.RelationId
getString(). Method in class Types.BooleanDesc
getString(). Method in interface DataSources.DataSource
getString(). Method in class Types.DoubleDesc
getString(). Method in class Types.IntDesc
getString(). Method in class DataSources.RelationId
getString(). Method in class Types.Schema
getString(). Method in class DataSources.StandardTable
getString(). Method in class Types.StringDesc
getString(). Method in interface Types.TypeDesc
GetSuffix(int). Static method in class Parser.ASCII_CharStream
getToken(int). Static method in class Parser.SQLParser
getType(). Method in class Expressions.Constant
getType(). Method in class Types.DTE_Boolean
getType(). Method in class Types.DTE_Double
getType(). Method in class Types.DTE_Int
getType(). Method in class Types.DTE_String
getType(). Method in class Types.DTE_Type
getType(). Method in interface Expressions.Expression
getType(). Method in class Expressions.Operator
getType(). Method in class Expressions.Selection
getTypeAttr(). Method in class Types.Schema
getTypeDescs(). Method in class Types.Schema
getTypeNm(). Method in class DataSources.StandardTable
getValue(). Method in class Types.DTE_Boolean
getValue(). Method in class Types.DTE_Double
getValue(). Method in class Types.DTE_Int
getValue(char[]). Method in class Types.DTE_String

I

ID. Static variable in interface Parser.SQLParserConstants
image. Variable in class Parser.Token
The string image of the token.
IntDesc(). Constructor for class Types.IntDesc
INTEGER. Static variable in interface Parser.SQLParserConstants

J

jj_nt. Static variable in class Parser.SQLParser
jjstrLiteralImages. Static variable in class Parser.SQLParserTokenManager
JOINT. Static variable in interface Parser.SQLParserConstants
JointExpression(). Static method in class Parser.SQLParser

K

kind. Variable in class Parser.Token
An integer that describes the kind of this token.

L

LENGTH. Static variable in class Types.DTE_String
lexStateNames. Static variable in class Parser.SQLParserTokenManager
ListOp(). Constructor for class Expressions.ListOp
load(). Method in class Iterators.MemoryLoader
LOGIC. Static variable in interface Parser.SQLParserConstants
LogicalExpression(). Static method in class Parser.SQLParser

M

main(String[]). Static method in class DataSources.RelationManager
main(String[]). Static method in class Types.Schema
main(String[]). Static method in class Parser.SQLParser
MemoryLoader(int, Iterator, TypeDesc[]). Constructor for class Iterators.MemoryLoader
MULT. Static variable in interface Parser.SQLParserConstants
MultiplicativeExpression(). Static method in class Parser.SQLParser

N

newToken(int). Static method in class Parser.Token
Returns a new Token object, by default.
next. Variable in class Parser.Token
A reference to the next regular (non-special) token from the input stream.
NLjoinIterator(Iterator, Iterator, ExecExpr[], ExecExpr[], TypeDesc[], TypeDesc[], TypeDesc[], int). Constructor for class Iterators.NLjoinIterator
NLJoinNode(PlanNode, PlanNode, Query). Constructor for class Optimizer.NLJoinNode

O

Operator(String, Expression, Expression). Constructor for class Expressions.Operator
optimize(). Method in class Expressions.Query

P

ParseException(). Constructor for class Parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String). Constructor for class Parser.ParseException
ParseException(Token, int[][], String[]). Constructor for class Parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
PlanNode(). Constructor for class Optimizer.PlanNode
print(PrintStream). Method in class Types.DTE_Boolean
print(PrintStream). Method in class Types.DTE_Double
print(PrintStream). Method in class Types.DTE_Int
print(PrintStream). Method in class Types.DTE_String
print(PrintStream). Method in class Types.DTE_Type
print(PrintStream). Method in class Types.Tuple
print(PrintWriter). Method in class Types.DTE_Boolean
print(PrintWriter). Method in class Types.DTE_Double
print(PrintWriter). Method in class Types.DTE_Int
print(PrintWriter). Method in class Types.DTE_String
print(PrintWriter). Method in class Types.DTE_Type
print(PrintWriter). Method in class Types.Tuple
printAttrnms(). Method in class Types.Schema
printTypes(). Method in class Expressions.Constant
printTypes(). Method in interface Expressions.Expression
printTypes(). Method in class Expressions.Operator
printTypes(). Method in class Expressions.Query
printTypes(). Method in class Types.Schema
printTypes(). Method in class Expressions.Selection
put(Expression). Method in class Expressions.SymbolTable

Q

query(). Static method in class Parser.SQLParser
Query(Vector, Vector, Expression). Constructor for class Expressions.Query

R

read(StreamTokenizer). Method in class Types.DTE_Boolean
read(StreamTokenizer). Method in class Types.DTE_Double
read(StreamTokenizer). Method in class Types.DTE_Int
read(StreamTokenizer). Method in class Types.DTE_String
This function truncate the input string if it is more than LENGTH.
read(StreamTokenizer). Method in class Types.DTE_Type
read(StreamTokenizer). Method in class Types.Schema
read(StreamTokenizer). Method in class DataSources.StandardTable
read(StreamTokenizer). Method in class Types.Tuple
read returns false if the EOF is encountered
readChar(). Static method in class Parser.ASCII_CharStream
registerNewRelation(DataSource). Method in class DataSources.RelationManager
Return immutable (unique and nonchangable) relation id
ReInit(ASCII_CharStream). Static method in class Parser.SQLParserTokenManager
ReInit(ASCII_CharStream, int). Static method in class Parser.SQLParserTokenManager
ReInit(InputStream). Static method in class Parser.SQLParser
ReInit(InputStream, int, int). Static method in class Parser.ASCII_CharStream
ReInit(InputStream, int, int, int). Static method in class Parser.ASCII_CharStream
ReInit(SQLParserTokenManager). Method in class Parser.SQLParser
RelationId(). Constructor for class DataSources.RelationId
relationId(). Static method in class Parser.SQLParser
RelationId(int). Constructor for class DataSources.RelationId
RelationId(int, int). Constructor for class DataSources.RelationId
RelationManager(String, String). Constructor for class DataSources.RelationManager

S

schema. Variable in class DataSources.StandardTable
Schema(). Constructor for class Types.Schema
Schema(int, String). Constructor for class Types.Schema
Schema(int, String, String). Constructor for class Types.Schema
SELECT. Static variable in interface Parser.SQLParserConstants
SelectClause(). Static method in class Parser.SQLParser
SELECTION. Static variable in interface Parser.SQLParserConstants
Selection(String, String). Constructor for class Expressions.Selection
Selection(String, String, TypeDesc). Constructor for class Expressions.Selection
SelProj(Iterator, ExecExpr[], ExecExpr[], TypeDesc[]). Constructor for class Iterators.SelProj
setDataSource(DataSource). Method in class DataSources.TableAlias
setValue(boolean). Method in class Types.DTE_Boolean
setValue(char[]). Method in class Types.DTE_String
setValue(double). Method in class Types.DTE_Double
setValue(int). Method in class Types.DTE_Int
specialConstructor. Variable in class 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.
SQLParser(InputStream). Constructor for class Parser.SQLParser
SQLParser(SQLParserTokenManager). Constructor for class Parser.SQLParser
SQLParserTokenManager(ASCII_CharStream). Constructor for class Parser.SQLParserTokenManager
SQLParserTokenManager(ASCII_CharStream, int). Constructor for class Parser.SQLParserTokenManager
StandardTable(). Constructor for class DataSources.StandardTable
StandardTable(int, String, String). Constructor for class DataSources.StandardTable
StandardTable(Schema, String). Constructor for class DataSources.StandardTable
staticFlag. Static variable in class Parser.ASCII_CharStream
StringDesc(). Constructor for class Types.StringDesc
SwitchTo(int). Static method in class Parser.SQLParserTokenManager
SymbolTable(). Constructor for class Expressions.SymbolTable

T

TableAlias(RelationId, String). Constructor for class DataSources.TableAlias
token. Static variable in class Parser.SQLParser
Token(). Constructor for class Parser.Token
token_source. Static variable in class Parser.SQLParser
tokenImage. Variable in class Parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage. Static variable in interface Parser.SQLParserConstants
TokenMgrError(). Constructor for class Parser.TokenMgrError
TokenMgrError(boolean, int, int, int, String, char, int). Constructor for class Parser.TokenMgrError
TokenMgrError(String, int). Constructor for class Parser.TokenMgrError
toString(). Method in class Expressions.Constant
toString(). Method in class Types.DTE_Boolean
toString(). Method in class Types.DTE_Double
toString(). Method in class Types.DTE_Int
toString(). Method in class Types.DTE_String
toString(). Method in class Types.DTE_Type
toString(). Method in interface Expressions.Expression
toString(). Method in class Expressions.Operator
toString(). Method in class Expressions.Query
toString(). Method in class DataSources.RelationId
toString(). Method in class Expressions.Selection
toString(). Method in class DataSources.TableAlias
toString(). Method in class Parser.Token
Returns the image.
Tuple(). Constructor for class Types.Tuple
Tuple(TypeDesc[]). Constructor for class Types.Tuple
tupleFromList(Tuple, ExecExpr[], Tuple, Tuple). Static method in class Expressions.ListOp
typeCheck(RelationManager). Method in class Expressions.Query
typeCheck(SymbolTable). Method in class Expressions.Constant
typeCheck(SymbolTable). Method in interface Expressions.Expression
Type check this expression, based on the information present in the symbol table.
typeCheck(SymbolTable). Method in class Expressions.Operator
typeCheck(SymbolTable). Method in class Expressions.Selection
TypeCheckException(String). Constructor for class Expressions.TypeCheckException
typeFor(TypeDesc). Static method in class Types.DTE_Type
This method returns an instance of a type given its descriptor

U

UnaryExpression(). Static method in class Parser.SQLParser
urlString. Variable in class DataSources.StandardTable

W

WHERE. Static variable in interface Parser.SQLParserConstants
WhereClause(). Static method in class Parser.SQLParser