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

A

addAttribute(Attribute) - Method in class org.dejave.attica.model.Relation
Adds an attribute to this relation.
addEscapes(String) - Static method in error org.dejave.attica.sql.parser.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addTuple(Tuple) - Method in class org.dejave.attica.storage.Page
Adds a new tuple to the page.
adjustBeginLineColumn(int, int) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AlgebraicOperator - Class in org.dejave.attica.engine.algebra
AlgebraicOperator: The base class for all algebraic operators.
AlgebraicOperator() - Constructor for class org.dejave.attica.engine.algebra.AlgebraicOperator
 
AliasedTable() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
ALL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
allDone() - Method in class org.dejave.attica.engine.operators.Operator
Are all the incoming operators done or not?
AND - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Args - Class in org.dejave.util
Convenience methods for parsing command-line arguments.
Args() - Constructor for class org.dejave.util.Args
 
asByte(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive byte.
ASC - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
asChar(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive character.
asDouble(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive double.
asFloat(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive float.
asInt(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive integer.
asLong(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive long.
asShort(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a primitive short.
asString(int) - Method in class org.dejave.attica.storage.Tuple
Returns the slot of the tuple cast to a Java String.
ASTERISK - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
ATTICA_DIR - Static variable in class org.dejave.attica.server.Database
Directory of the server.
Attribute - Class in org.dejave.attica.model
Attribute: The basic abstraction of an attica data model Attribute.
Attribute(String, Class<? extends Comparable>) - Constructor for class org.dejave.attica.model.Attribute
Create a new attribute given its name and class.
Attribute(Attribute) - Constructor for class org.dejave.attica.model.Attribute
Copy constructor for an attribute.
Attribute() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
AttributeDeclaration(String) - Static method in class org.dejave.attica.sql.parser.SQLParser
 
AttributeDeclarationList(String) - Static method in class org.dejave.attica.sql.parser.SQLParser
 
AttributeList() - Static method in class org.dejave.attica.sql.parser.SQLParser
 

B

backup(int) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class org.dejave.attica.sql.parser.Token
The column number of the first character of this Token.
beginLine - Variable in class org.dejave.attica.sql.parser.Token
The line number of the first character of this Token.
BeginToken() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Start.
BETWEEN - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
BinaryOperator - Class in org.dejave.attica.engine.operators
BinaryOperator: The basic binary operator class.
BinaryOperator(Operator, Operator) - Constructor for class org.dejave.attica.engine.operators.BinaryOperator
Constructs a new binary operator given a left and a right input.
BooleanExpression() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
bufcolumn - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
buffer - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
BufferManager - Class in org.dejave.attica.storage
BufferManager: The basic abstraction of attica's buffer manager.
BufferManager(int) - Constructor for class org.dejave.attica.storage.BufferManager
Create a new buffer manager given the number of pages the buffer manager should hold.
bufline - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
bufpos - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
Position in buffer.
buildInitialProjections(List<Projection>, List<Selection>, List<Join>, Set<String>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of projections, a list of selections and a list of joins, return a vector of initial projections, i.e., the projections that should be pushed down right above the scans.
buildPlan(String, List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a collection of algebraic operators, construct the evaluation plan and return its root.
buildScans(Set<String>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a set of tables, return a list of physical scan operators.
BY - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
BYTE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
byteSize(Tuple) - Method in class org.dejave.attica.storage.TupleIOManager
Calculates the byte size of a tuple of this IO manager.
byteSize(Relation, Tuple) - Static method in class org.dejave.attica.storage.TupleIOManager
Calculates the byte size of a tuple given its relation.

C

canSubstitute(int, Tuple) - Method in class org.dejave.attica.storage.Page
Checks whether the specified index can be substituted for the new tuple.
CartesianProduct - Class in org.dejave.attica.engine.operators
CartesianProduct: A cartesian product between two inuput operators.
CartesianProduct(Operator, Operator, StorageManager) - Constructor for class org.dejave.attica.engine.operators.CartesianProduct
Constructs a new Cartesian product operator.
castAndInsertTuple(String, Tuple) - Method in class org.dejave.attica.storage.StorageManager
Casts the list of comparables to the correct types before inserting the tuple.
castAndInsertTuple(String, List<Comparable>) - Method in class org.dejave.attica.storage.StorageManager
Casts the list of comparables to the correct types before inserting the tuple.
Catalog() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
CATALOG - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Catalog - Class in org.dejave.attica.storage
Catalog: The catalog abstraction of the attica storage manager.
Catalog(String) - Constructor for class org.dejave.attica.storage.Catalog
Construct a new catalog given the name of the catalog file.
CatalogEntry - Class in org.dejave.attica.storage
CatalogEntry: Stores all information pertinent to a table in the catalog.
CatalogEntry(Table) - Constructor for class org.dejave.attica.storage.CatalogEntry
Creates a new catalog entry given the table.
CHAR - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
CHAR_SIZE - Static variable in class org.dejave.util.Convert
 
cleanup() - Method in class org.dejave.attica.engine.operators.ExternalSort
Cleanup after the sort.
cleanup() - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Cleans up after the join.
cleanup() - Method in class org.dejave.attica.engine.operators.HashGroup
Cleanup after the sort.
cleanup() - Method in class org.dejave.attica.engine.operators.MergeJoin
Cleans up after the join.
cleanup() - Method in class org.dejave.attica.engine.operators.NestedLoopsJoin
Cleanup after the join.
cleanup() - Method in class org.dejave.attica.engine.operators.Operator
Called to clean up any resources held by the operator.
cleanup() - Method in class org.dejave.attica.engine.operators.Sink
Cleans up after all processing.
clear() - Method in class org.dejave.util.DuplicateHashMap
 
clear() - Method in class org.dejave.util.LRUMap
 
CLOSEPAR - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
column - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
combineTuples(Tuple, Tuple) - Method in class org.dejave.attica.engine.operators.PhysicalJoin
Given two tuples, combine them into a single one.
COMMA - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
COMMENT_BLOCK - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
COMMENT_LINE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Condition - Class in org.dejave.attica.engine.predicates
Condition: A basic condition between two values.
Condition() - Constructor for class org.dejave.attica.engine.predicates.Condition
Constructs a new condition without any arguments
Condition(Comparable, Comparable, Condition.Qualification) - Constructor for class org.dejave.attica.engine.predicates.Condition
Constructs a new condition with two Java Comparable objects as arguments.
Condition.Qualification - Enum in org.dejave.attica.engine.predicates
 
Conjunction - Class in org.dejave.attica.engine.predicates
Conjunction: A conjunction of predicates.
Conjunction(List<Predicate>) - Constructor for class org.dejave.attica.engine.predicates.Conjunction
Constructs a new conjunction.
ConjunctionOperator() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
ConjunctiveExpression() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
containsKey(K) - Method in class org.dejave.util.DuplicateHashMap
 
containsKey(K) - Method in class org.dejave.util.LRUMap
 
containsPage(PageIdentifier) - Method in class org.dejave.attica.storage.BufferManager
Is the page specified by the page id in the buffer pool or not?
containsSlot(int) - Method in class org.dejave.attica.engine.operators.Project
Is the given slot contained in the projection array?
containsValue(V) - Method in class org.dejave.util.LRUMap
 
Convert - Class in org.dejave.util
 
Convert() - Constructor for class org.dejave.util.Convert
 
convertProjectionList(Iterable<Variable>, Relation) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given an iterable collection of variables a relation, it converts the collection into an array of slots.
convertQualification(Qualification, Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Converts a logical qualification to a physical predicate.
convertQualification(Qualification, Operator, Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Converts a qualification to a phyical predicate (used for joins).
COUNT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Create() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
CREATE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
createComparable(Class<?>, String) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a type and a value, it creates a comparable object for use in the physical predicates.
createFile(String) - Method in class org.dejave.attica.storage.StorageManager
Create a new file by the given file name.
createFileName() - Method in class org.dejave.attica.storage.CatalogEntry
Creates a new filename for the entry's table name.
createFileName(Relation) - Static method in class org.dejave.attica.storage.StorageManager
Given a relation, it creates a file name for it.
createJoin(Operator, Operator, List<Join>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given two input operators and a collection of algebraic joins, returns a physical join to evaluate them.
createJoinPredicate(Operator, Operator, Join) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Builds a single join predicate over two sources.
createLogger(String, Handler, Formatter) - Static method in class org.dejave.util.Logger
 
createLogger(String, Handler) - Static method in class org.dejave.util.Logger
 
createNewEntry(CatalogEntry) - Method in class org.dejave.attica.storage.Catalog
Creates an entry into the catalog for a new table.
createProjectionList(List<Projection>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of projections, it collapses their projection lists into a single one.
createSlotPointer(Variable, Relation) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a variable and a relation, it creates a slot pointer.
createTable(Table) - Method in class org.dejave.attica.storage.StorageManager
Creates a new table in the database.
createTempFileName() - Static method in class org.dejave.attica.storage.FileUtil
Create a new temporary file name.
curChar - Static variable in class org.dejave.attica.sql.parser.SQLParserTokenManager
 
currentToken - Variable in exception org.dejave.attica.sql.parser.ParseException
This is the last token that has been consumed successfully.

D

Database - Class in org.dejave.attica.server
Database: The database driver file.
Database(String) - Constructor for class org.dejave.attica.server.Database
Constructs a new Database instance using the given file name to read the properties from.
Database(String, boolean) - Constructor for class org.dejave.attica.server.Database
Constructs a new Database specifying whether this is a new instance or not.
DatabaseFile - Class in org.dejave.attica.storage
DatabaseFile: A paged database file.
DatabaseFile(String, String) - Constructor for class org.dejave.attica.storage.DatabaseFile
Constructs a new DatabaseFile instance.
debugStream - Static variable in class org.dejave.attica.sql.parser.SQLParserTokenManager
Debug output.
DEFAULT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
Lexical state.
DEFAULT_CAPACITY - Static variable in class org.dejave.util.LRUMap
 
deleteFile(String) - Method in class org.dejave.attica.storage.StorageManager
Delete the specified file.
deleteTable(String) - Method in class org.dejave.attica.storage.Catalog
Deletes a table from the catalog.
deleteTable(String) - Method in class org.dejave.attica.storage.StorageManager
Deletes the specified table from the database.
DESC - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Describe() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
DESCRIBE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
DIGIT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
DISABLE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
disable_tracing() - Static method in class org.dejave.attica.sql.parser.SQLParser
Disable tracing.
DisableHash() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
Disjunction - Class in org.dejave.attica.engine.predicates
Disjunction: A disjunction of predicates.
Disjunction(List<Predicate>) - Constructor for class org.dejave.attica.engine.predicates.Disjunction
Constructs a new disjunction of predicates.
DisjunctionOperator() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
DisjunctiveExpression() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
DISTINCT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Done() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Reset buffer when finished.
DOT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
DOUBLE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
DOUBLE_SIZE - Static variable in class org.dejave.util.Convert
 
Drop() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
DROP - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
dumpNumber(Page, byte[]) - Static method in class org.dejave.attica.storage.PageIOManager
Dumps the number of tuples of the page.
dumpSlot(Class<? extends Comparable>, Tuple, int, byte[], int) - Method in class org.dejave.attica.storage.TupleIOManager
Low-level method to dump a tuple slot to a byte array.
dumpTuples(Page, byte[]) - Static method in class org.dejave.attica.storage.PageIOManager
Dump the page tuples to disk.
DuplicateHashMap<K extends java.lang.Comparable<? super K>,V> - Class in org.dejave.util
 
DuplicateHashMap() - Constructor for class org.dejave.util.DuplicateHashMap
 

E

ENABLE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
enable_tracing() - Static method in class org.dejave.attica.sql.parser.SQLParser
Enable tracing.
EnableHash - Class in org.dejave.attica.server
EnableHash: Enables or disables hash algorithms.
EnableHash() - Constructor for class org.dejave.attica.server.EnableHash
Default constructor.
EnableHash(boolean) - Constructor for class org.dejave.attica.server.EnableHash
Enables or disables hashing.
EnableHash() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
endColumn - Variable in class org.dejave.attica.sql.parser.Token
The column number of the last character of this Token.
endLine - Variable in class org.dejave.attica.sql.parser.Token
The line number of the last character of this Token.
EndOfStreamTuple - Class in org.dejave.attica.engine.operators
EndOfStreamTuple: Signifies the end of a stream.
EndOfStreamTuple() - Constructor for class org.dejave.attica.engine.operators.EndOfStreamTuple
Constructs a new end-of-stream tuple.
EngineException - Exception in org.dejave.attica.engine.operators
EngineException: Thrown whenever there is an engine error.
EngineException(String) - Constructor for exception org.dejave.attica.engine.operators.EngineException
Constructs a new exception.
EngineException(String, Throwable) - Constructor for exception org.dejave.attica.engine.operators.EngineException
Constructs a new exception given the error message and originating throwable.
entrySet() - Method in class org.dejave.util.LRUMap
 
enumerateJoins(List<Join>, List<Operator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Enumerates the joins between a collection of sub-plans.
EOF - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
End of File.
eol - Variable in exception org.dejave.attica.sql.parser.ParseException
The end of line string for this machine.
EQUAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
equals(Object) - Method in class org.dejave.attica.model.Attribute
 
equals(Object) - Method in class org.dejave.attica.model.TableAttribute
Tests this attribute for equality to an object.
equals(Object) - Method in class org.dejave.attica.storage.PageIdentifier
Compares two identifiers for equality.
equals(Object) - Method in class org.dejave.attica.storage.Tuple
Tests this tuple to an object for equality.
equals(Object) - Method in class org.dejave.attica.storage.TupleIdentifier
Checks two tuple identifiers for equality.
equals(Object) - Method in class org.dejave.util.Pair
Tests this pair for equality to an object.
evaluate() - Method in class org.dejave.attica.engine.predicates.Condition
Implement the Predicate interface by defining the evaluate() method.
evaluate() - Method in class org.dejave.attica.engine.predicates.Conjunction
Implements the Predicate interface by defining the evaluate() method.
evaluate() - Method in class org.dejave.attica.engine.predicates.Disjunction
Implements the Predicate interface by defining the evaluate() method.
evaluate() - Method in class org.dejave.attica.engine.predicates.Negation
Implements the Predicate interface by defining the evaluate() method.
evaluate() - Method in interface org.dejave.attica.engine.predicates.Predicate
Method called to return true or false depending on the implementation of the interface.
evaluate(Predicate) - Static method in class org.dejave.attica.engine.predicates.PredicateEvaluator
Convenience method to evaluate predicates.
evaluate() - Method in class org.dejave.attica.engine.predicates.TrueCondition
Implementation of the Predicate interface.
evaluate() - Method in class org.dejave.attica.engine.predicates.TupleTupleCondition
Implements the Predicate interface by defining the evaluate() method.
evaluate() - Method in class org.dejave.attica.engine.predicates.TupleValueCondition
Implements the Predicate interface by defining the evaluate() method.
EXISTS - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
ExpandBuff(boolean) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
 
expectedTokenSequences - Variable in exception org.dejave.attica.sql.parser.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
ExternalSort - Class in org.dejave.attica.engine.operators
ExternalSort: Your implementation of sorting.
ExternalSort(Operator, StorageManager, int[], int) - Constructor for class org.dejave.attica.engine.operators.ExternalSort
Constructs a new external sort operator.

F

fetch(Class<? extends Comparable>, byte[], int) - Method in class org.dejave.attica.storage.TupleIOManager
Low-level method to read a slot from a byte array.
fetchNumber(byte[]) - Static method in class org.dejave.attica.storage.PageIOManager
Fetches the number of tuples from a byte array.
fetchTuples(Relation, PageIdentifier, byte[]) - Static method in class org.dejave.attica.storage.PageIOManager
Reads in tuples from disk and puts them in a new page.
FileUtil - Class in org.dejave.attica.storage
FileUtil: Basic file utilities.
FileUtil() - Constructor for class org.dejave.attica.storage.FileUtil
 
FillBuff() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
 
findJoins(Operator, Operator, List<Join>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given two operators and a collection of joins, return all joins over the operators in a new vector.
first - Variable in class org.dejave.util.Pair
The first element.
first - Variable in class org.dejave.util.Triplet
 
FLOAT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
FLOAT_SIZE - Static variable in class org.dejave.util.Convert
 
FLOATING_POINT_LITERAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
FROM - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
FromClause() - Static method in class org.dejave.attica.sql.parser.SQLParser
 

G

generateParseException() - Static method in class org.dejave.attica.sql.parser.SQLParser
Generate ParseException.
generatePartitionFileName(int) - Method in class org.dejave.attica.engine.operators.HashGroup
Helper method to generate a partition file name.
get(K) - Method in class org.dejave.util.DuplicateHashMap
 
get(K) - Method in class org.dejave.util.LRUMap
 
getAlgebra() - Method in class org.dejave.attica.server.Query
Retrieve the algebra for this query.
getAttribute() - Method in class org.dejave.attica.engine.algebra.Variable
Returns the attribute of this variable.
getAttribute(int) - Method in class org.dejave.attica.model.Relation
Returns the specified attribute of this relation.
getAttributeIndex(String) - Method in class org.dejave.attica.model.Relation
Given an attribute name, it returns the index of the attribute in the relation schema.
getAttributes(String, List<? extends AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a table name and a list of algebraic operators, return a projection list of all accessed attributes.
getBeginColumn() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get token beginning column number.
getBeginLine() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get token beginning line number.
getColumn() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Deprecated.
getEndColumn() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get token end column number.
getEndLine() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get token end line number.
getFileName() - Method in class org.dejave.attica.engine.operators.RelationScan
Fetch the filename that is to be scanned.
getFileName() - Method in class org.dejave.attica.storage.CatalogEntry
Returns the filename of this catalog entry's table's filename.
getFileName() - Method in class org.dejave.attica.storage.PageIdentifier
Retrieves the name of the file this page belongs to.
getFileName() - Method in class org.dejave.attica.storage.RelationIOManager
The name of the file for this manager.
getFileName() - Method in class org.dejave.attica.storage.TupleIdentifier
Returns the name of the file this tuple belongs to.
getFileSize(String) - Static method in class org.dejave.attica.storage.FileUtil
Returns the size (in bytes) of the file corresponding to the given filename.
getGroupList() - Method in class org.dejave.attica.engine.algebra.Group
Retrieves all group variables.
getGroups(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, identify the groupings and return them in a new list.
GetImage() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get token literal value.
getIndex(PageIdentifier) - Method in class org.dejave.attica.storage.BufferManager
Returns the index of a page in the pool given its identifier.
getInputOperator(int) - Method in class org.dejave.attica.engine.operators.Operator
Retrieve the specified input operator.
getInputOperator() - Method in class org.dejave.attica.engine.operators.UnaryOperator
Returns the sole input operator of this unary operator.
getJoins(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, identify the joins and return them in a new list.
getLeftVariable() - Method in class org.dejave.attica.engine.algebra.VariableVariableQualification
Returns the left-hand side variable.
getLine() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Deprecated.
getMessage() - Method in error org.dejave.attica.sql.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMultiNext() - Method in class org.dejave.attica.engine.operators.MessageSink
Overriden method to retrieve this sink's message.
getMultiNext() - Method in class org.dejave.attica.engine.operators.Operator
Fetch the next tuple(s) from this operator.
getName() - Method in class org.dejave.attica.model.Attribute
Return the name of this attribute.
getName() - Method in class org.dejave.attica.model.Table
Retrieves the name of the table.
getNext() - Method in class org.dejave.attica.engine.operators.Operator
Wrapper for the multi-output get next method.
getNextToken() - Static method in class org.dejave.attica.sql.parser.SQLParser
Get the next Token.
getNextToken() - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
Get the next Token.
getNumber() - Method in class org.dejave.attica.storage.PageIdentifier
Retrieves the number of this page.
getNumber() - Method in class org.dejave.attica.storage.TupleIdentifier
Returns the number of this tuple in the file.
getNumberOfAttributes() - Method in class org.dejave.attica.model.Relation
Returns the number of attributes of this relation.
getNumberOfBufferPoolPages() - Method in class org.dejave.attica.storage.StorageManager
Returns the number of buffer pool pages.
getNumberOfInputs() - Method in class org.dejave.attica.engine.operators.Operator
Returns the number of inputs of this operator.
getNumberOfPages() - Method in class org.dejave.attica.storage.BufferManager
The number of pages stored in this buffer manager.
getNumberOfPages(String) - Static method in class org.dejave.attica.storage.FileUtil
Return the number of attica pages in the file corresponding to the given filename.
getNumberOfTuples() - Method in class org.dejave.attica.storage.Page
Returns the number of occupied tuples of this page.
getopt(String[], String) - Static method in class org.dejave.util.Args
Given command line arguments as an array of strings, get the value for an optional argument, null if it's not there.
getopt(String[], String, String) - Static method in class org.dejave.util.Args
Given command line arguments as an array of strings, get the value for an optional argument, and a default value if it is not there.
getOutputRelation() - Method in class org.dejave.attica.engine.operators.Operator
Returns this operator's output relation.
getPage(PageIdentifier) - Method in class org.dejave.attica.storage.BufferManager
Returns a page given a page id.
getPageIdentifier() - Method in class org.dejave.attica.storage.Page
Retrieves the ID of this page
getPredicate() - Method in class org.dejave.attica.engine.operators.PhysicalJoin
Retrieves the predicate of this physical join.
getPredicate(int) - Method in class org.dejave.attica.engine.predicates.ListPredicate
Returns the requested predicate.
getPredicate() - Method in class org.dejave.attica.engine.predicates.Negation
Returns the predicate to be negated.
getPredicateListLength() - Method in class org.dejave.attica.engine.predicates.ListPredicate
Returns the length of the predicate list.
getProjectionList() - Method in class org.dejave.attica.engine.algebra.Projection
Retrieves all projection variables.
getProjections(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, identify the projections and return them in a new list.
getQualification() - Method in class org.dejave.attica.engine.algebra.Join
Return this join's qualification.
getQualification() - Method in class org.dejave.attica.engine.algebra.Selection
Returns this selection's qualification.
getRelation() - Method in class org.dejave.attica.storage.Page
Returns the relation this page conforms to.
getRelationship() - Method in class org.dejave.attica.engine.algebra.Qualification
Returns this qualification's relationship.
getRelevantInitialProjection(List<InitialProjection>, RelationScan) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of projections and a scan, return the relevant projection.
getRelevantSelections(List<Selection>, String) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of selections and a table name, identify the relevant selections on that table.
getRightVariable() - Method in class org.dejave.attica.engine.algebra.VariableVariableQualification
Returns the right-hand side variable.
getSelections(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, identify the selections and return them in a new list.
getSlot() - Method in class org.dejave.attica.engine.predicates.TupleSlotPointer
Returns the slot this pointer points to.
getSortList() - Method in class org.dejave.attica.engine.algebra.Sort
Retrieves all sort variables.
getSorts(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, identify the sorts and return them in a new list.
getStorageManager() - Method in class org.dejave.attica.engine.operators.PhysicalJoin
Retrieves the storage manager of this physical join.
GetSuffix(int) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Get the suffix.
getTable() - Method in class org.dejave.attica.engine.algebra.Variable
Returns the table of this variable.
getTable() - Method in class org.dejave.attica.model.TableAttribute
Retrieves the table of this attribute.
getTable() - Method in class org.dejave.attica.server.TableCreation
Retrieves the table to be created.
getTable(String) - Method in class org.dejave.attica.storage.Catalog
Returns the table associated with a table name.
getTable() - Method in class org.dejave.attica.storage.CatalogEntry
Returns this catalog entry's table.
getTableFileName(String) - Method in class org.dejave.attica.storage.Catalog
Returns the name of the file associated with a table.
getTableName() - Method in class org.dejave.attica.server.TableDeletion
Retrieves the name of the table that is to be deleted.
getTableName() - Method in class org.dejave.attica.server.TableDescription
Retrieves the name of the table to be described.
getTableName() - Method in class org.dejave.attica.server.TupleInsertion
Returns the table where the tuple is to be inserted.
getTableName() - Method in class org.dejave.attica.storage.CatalogEntry
The name of the table this entry corresponds to.
getTables(Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a physical operator, return a set with the names of all tables participating in it.
getTables(List<AlgebraicOperator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a list of algebraic operators, return a set with the names of all tables appearing in the operators.
getTabSize(int) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
 
getToken(int) - Static method in class org.dejave.attica.sql.parser.SQLParser
Get the specific Token.
gettrig(String[], String) - Static method in class org.dejave.util.Args
Return true of false depending on whether the given argument is present or not.
getTupleIdentifier() - Method in class org.dejave.attica.storage.Tuple
Returns the identifier of this tuple.
getType() - Method in class org.dejave.attica.engine.predicates.TupleSlotPointer
Returns the type of this slot.
getType() - Method in class org.dejave.attica.model.Attribute
Return the class of this attribute.
getValue() - Method in class org.dejave.attica.engine.algebra.VariableValueQualification
Return this qualification's value.
getValue() - Method in class org.dejave.attica.sql.parser.Token
An optional attribute value of the Token.
getValue(int) - Method in class org.dejave.attica.storage.Tuple
Returns the specified slot of this tuple as a generic Comparable.
getValues() - Method in class org.dejave.attica.server.TupleInsertion
Retrieves the values of the tuple.
getValues() - Method in class org.dejave.attica.storage.Tuple
Returns the values of this tuple.
getVariable() - Method in class org.dejave.attica.engine.algebra.VariableValueQualification
Returns this qualification's variable.
GraceHashJoin - Class in org.dejave.attica.engine.operators
MergeJoin: Implements a merge join.
GraceHashJoin(Operator, Operator, StorageManager, int, int, int, Predicate) - Constructor for class org.dejave.attica.engine.operators.GraceHashJoin
Constructs a new grace-hash join operator.
GREATER - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
GREATEREQUAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Group - Class in org.dejave.attica.engine.algebra
 
Group() - Constructor for class org.dejave.attica.engine.algebra.Group
Default constructor.
Group(List<Variable>) - Constructor for class org.dejave.attica.engine.algebra.Group
Constructs a new group operator.
GROUP - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
GroupClause() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
groups() - Method in class org.dejave.attica.engine.algebra.Group
Retrieves the group's group list.

H

HASH - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
HASH_ALGORITHMS - Static variable in class org.dejave.attica.server.Database
The property name for the hash algorithms.
hashCode() - Method in class org.dejave.attica.model.Attribute
 
hashCode() - Method in class org.dejave.attica.model.TableAttribute
Returns a hashcode for this attribute.
hashCode() - Method in class org.dejave.attica.storage.PageIdentifier
Overrides hash code for equals() consistency.
hashCode() - Method in class org.dejave.attica.storage.Tuple
Returns a hash code for this tuple.
hashCode() - Method in class org.dejave.attica.storage.TupleIdentifier
Computes the hashcode of this tuple identifier.
hashCode() - Method in class org.dejave.util.Pair
Computes a hashcode for this pair.
HashGroup - Class in org.dejave.attica.engine.operators
HashGroup: Your implementation of hash-based grouping.
HashGroup(Operator, StorageManager, int[], int) - Constructor for class org.dejave.attica.engine.operators.HashGroup
Constructs a new hash grouping operator.
hasRoom(Tuple) - Method in class org.dejave.attica.storage.Page
Checks whether this page has room for one more tuple.
HAVING - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.

I

ID - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Identifier() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
image - Variable in class org.dejave.attica.sql.parser.Token
The string image of the token.
imposeFinalProjections(List<Projection>, Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Imposes the final result projection.
imposeGroups(List<Group>, Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Imposes the final grouping.
imposeInitialProjections(List<InitialProjection>, List<RelationScan>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Imposes the initial projections over the scan operations.
imposeSelections(List<Selection>, List<? extends Operator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Imposes the selections over execution branches.
imposeSorts(List<Sort>, Operator) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Imposes the final sort.
IN - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
inBuf - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
indexToEvict() - Method in class org.dejave.attica.storage.BufferManager
Identify the page to be evicted from the buffer pool to make room.
InitialProjection - Class in org.dejave.attica.engine.algebra
InitialProjection: An initial projection -- used to project out attributes before the final projection (this is a hack, really, but it will do for now).
InitialProjection(List<Variable>) - Constructor for class org.dejave.attica.engine.algebra.InitialProjection
Constructs a new initial projection algebraic operator.
initTempFiles() - Method in class org.dejave.attica.engine.operators.ExternalSort
Initialises the temporary files, according to the number of buffers.
initTempFiles() - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Initialise the temporary files -- if necessary.
initTempFiles() - Method in class org.dejave.attica.engine.operators.HashGroup
Initialises the temporary files, according to the number of buffers.
initTempFiles() - Method in class org.dejave.attica.engine.operators.MergeJoin
Initialise the temporary files -- if necessary.
innerGetNext() - Method in class org.dejave.attica.engine.operators.ExternalSort
The inner method to retrieve tuples.
innerGetNext() - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Inner method to propagate a tuple.
innerGetNext() - Method in class org.dejave.attica.engine.operators.HashGroup
The inner method to retrieve tuples.
innerGetNext() - Method in class org.dejave.attica.engine.operators.MergeJoin
Inner method to propagate a tuple.
innerGetNext() - Method in class org.dejave.attica.engine.operators.NestedLoopsJoin
Inner method to propagate a tuple.
innerGetNext() - Method in class org.dejave.attica.engine.operators.Operator
Inner method to fetch the next tuple(s) from this operator.
innerGetNext() - Method in class org.dejave.attica.engine.operators.RelationScan
Inner method to retrieve the next tuple(s).
innerGetNext() - Method in class org.dejave.attica.engine.operators.Sink
The inner method to retrieve tuples
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.ExternalSort
Operator class abstract interface -- never called.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Inner tuple processing.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.HashGroup
Operator class abstract interface -- never called.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.MergeJoin
Inner tuple processing.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.MessageSink
The inner tuple processing method -- doesn't do anything.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.NestedLoopsJoin
 
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.Operator
The inner tuple processing method -- all operators should implement this.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.Project
Processes an incoming tuple.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.RelationScan
Inner processing of a tuple (never called, but made idempotent for safety because I'm kinda stupid.)
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.Select
Processes an incoming tuple.
innerProcessTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.Sink
Operator abstract interface -- never called.
input_stream - Static variable in class org.dejave.attica.sql.parser.SQLParserTokenManager
 
inputStream - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
Insert() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
INSERT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
insertTuple(Tuple, Predicate) - Static method in class org.dejave.attica.engine.predicates.PredicateTupleInserter
Inserts only a single tuple in the given predicate.
insertTuple(Tuple) - Method in class org.dejave.attica.storage.RelationIOManager
Inserts a new tuple into this relation.
insertTuple(List<Comparable>) - Method in class org.dejave.attica.storage.RelationIOManager
Inserts a new tuple specified as a list of comparable values into this relation.
insertTuple(Tuple, boolean) - Method in class org.dejave.attica.storage.RelationIOManager
Inserts a new tuple into this relation.
insertTuple(String, Tuple) - Method in class org.dejave.attica.storage.StorageManager
Inserts a new tuple into the given table.
insertTuple(String, List<Comparable>) - Method in class org.dejave.attica.storage.StorageManager
Inserts a new tuple into the given table.
insertTuples(Tuple, Tuple, Predicate) - Static method in class org.dejave.attica.engine.predicates.PredicateTupleInserter
Inserts two tuples in the given predicate.
INT_SIZE - Static variable in class org.dejave.util.Convert
 
INTEGER - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
INTEGER_LITERAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
IntermediateTupleIdentifier - Class in org.dejave.attica.storage
IntermediateTupleIdentifier: A unique identifier for an intermediate tuple.
IntermediateTupleIdentifier(int) - Constructor for class org.dejave.attica.storage.IntermediateTupleIdentifier
Constructs a new identifier given its number.
INTO - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
invalidate(String) - Method in class org.dejave.attica.storage.BufferManager
Invalidate all buffer pool entries for a specific file.
isDisabled() - Method in class org.dejave.attica.server.EnableHash
 
isEnabled() - Method in class org.dejave.attica.server.EnableHash
 
isFull() - Method in class org.dejave.attica.storage.BufferManager
Is the buffer manager full or not?
isIntermediate() - Method in class org.dejave.attica.storage.Tuple
Is this tuple intermediate or not?
isMergeable(Join) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Checks whether sort-merge can be used or not.
iterator() - Method in class org.dejave.attica.model.Relation
Returns an Iterator over the attributes of this relation.
iterator() - Method in class org.dejave.attica.storage.Page
Returns an iterator over this page.

J

jj_nt - Static variable in class org.dejave.attica.sql.parser.SQLParser
Next token.
jjFillToken() - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
 
jjstrLiteralImages - Static variable in class org.dejave.attica.sql.parser.SQLParserTokenManager
Token literal values.
Join - Class in org.dejave.attica.engine.algebra
Join: An algebraic join operator.
Join() - Constructor for class org.dejave.attica.engine.algebra.Join
Default constructor.
Join(Qualification) - Constructor for class org.dejave.attica.engine.algebra.Join
Constructs a new algebraic join operator.
joined(Operator, Operator, List<Join>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given two operators (sub-plans) and a list of joins, it checks if the two operators are joined.

K

kind - Variable in class org.dejave.attica.sql.parser.Token
An integer that describes the kind of this token.

L

LEFT - Static variable in class org.dejave.attica.engine.operators.BinaryOperator
Denotes the left-hand side input operator.
LESS - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
LESSEQUAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
LETTER - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
LexicalError(boolean, int, int, int, String, char) - Static method in error org.dejave.attica.sql.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class org.dejave.attica.sql.parser.SQLParserTokenManager
Lexer state names.
line - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
ListPredicate - Class in org.dejave.attica.engine.predicates
ListPredicate: A predicate over a list of predicates.
ListPredicate(List<Predicate>) - Constructor for class org.dejave.attica.engine.predicates.ListPredicate
Constructs a new list predicate.
listSymbol() - Method in class org.dejave.attica.engine.predicates.Conjunction
The symbol of the list.
listSymbol() - Method in class org.dejave.attica.engine.predicates.Disjunction
The symbol of the list.
listSymbol() - Method in class org.dejave.attica.engine.predicates.ListPredicate
Returns the symbol of this list.
Literal() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
Logger - Class in org.dejave.util
Does the boilerplate work for loggers.
Logger() - Constructor for class org.dejave.util.Logger
 
LONG - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
LONG_SIZE - Static variable in class org.dejave.util.Convert
 
LRUMap<K,V> - Class in org.dejave.util
 
LRUMap() - Constructor for class org.dejave.util.LRUMap
 
LRUMap(int) - Constructor for class org.dejave.util.LRUMap
 

M

main(String[]) - Static method in class org.dejave.attica.engine.operators.RelationScan
Debug main
main(String[]) - Static method in class org.dejave.attica.engine.optimiser.PlanBuilder
Debug main
main(String[]) - Static method in class org.dejave.attica.server.Database
Start up the database.
main(String[]) - Static method in class org.dejave.attica.sql.parser.SQLParser
 
main(String[]) - Static method in class org.dejave.attica.storage.Catalog
Debug main()
main(String[]) - Static method in class org.dejave.attica.storage.RelationIOManager
Debug main.
main(String[]) - Static method in class org.dejave.attica.storage.StorageManager
Debug main().
main(String[]) - Static method in class org.dejave.util.Convert
 
main(String[]) - Static method in class org.dejave.util.LRUMap
 
MAX - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
maxNextCharInd - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
MergeJoin - Class in org.dejave.attica.engine.operators
MergeJoin: Implements a merge join.
MergeJoin(Operator, Operator, StorageManager, int, int, Predicate) - Constructor for class org.dejave.attica.engine.operators.MergeJoin
Constructs a new mergejoin operator.
MessageSink - Class in org.dejave.attica.engine.operators
MessageSink: A simple interface to provide DB messages to the user as an operator.
MessageSink(String) - Constructor for class org.dejave.attica.engine.operators.MessageSink
Constructs a new message sink.
MIN - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
MINUS - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.

N

Negation - Class in org.dejave.attica.engine.predicates
Negation: The negation of a Predicate.
Negation(Predicate) - Constructor for class org.dejave.attica.engine.predicates.Negation
Constructs a new negation.
NegationOperator() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
NestedLoopsJoin - Class in org.dejave.attica.engine.operators
NestedLoopsJoin: Implements a (blocking) nested loops join.
NestedLoopsJoin(Operator, Operator, StorageManager, Predicate) - Constructor for class org.dejave.attica.engine.operators.NestedLoopsJoin
Constructs a new nested loops join operator.
newToken(int, String) - Static method in class org.dejave.attica.sql.parser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.dejave.attica.sql.parser.Token
 
next - Variable in class org.dejave.attica.sql.parser.Token
A reference to the next regular (non-special) token from the input stream.
NOT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
NOTEQUAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
NOTEQUAL2 - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
NullUnaryOperator - Class in org.dejave.attica.engine.operators
 
NullUnaryOperator(Operator) - Constructor for class org.dejave.attica.engine.operators.NullUnaryOperator
Constructs a new null operator.

O

onRemove(Map.Entry<K, V>) - Method in class org.dejave.util.LRUMap
 
OPENPAR - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Operator - Class in org.dejave.attica.engine.operators
Operator: The basic operator abstraction.
Operator() - Constructor for class org.dejave.attica.engine.operators.Operator
Default constructor.
Operator(List<Operator>) - Constructor for class org.dejave.attica.engine.operators.Operator
Constructs a new operator given the input operators.
OR - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
ORDER - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
org.dejave.attica.engine.algebra - package org.dejave.attica.engine.algebra
 
org.dejave.attica.engine.operators - package org.dejave.attica.engine.operators
 
org.dejave.attica.engine.optimiser - package org.dejave.attica.engine.optimiser
 
org.dejave.attica.engine.predicates - package org.dejave.attica.engine.predicates
 
org.dejave.attica.model - package org.dejave.attica.model
 
org.dejave.attica.server - package org.dejave.attica.server
 
org.dejave.attica.sql.parser - package org.dejave.attica.sql.parser
 
org.dejave.attica.storage - package org.dejave.attica.storage
 
org.dejave.util - package org.dejave.util
 

P

pad(byte[], int) - Static method in class org.dejave.attica.storage.PageIOManager
Pad a byte array with zeros to reach the disk page size.
Page - Class in org.dejave.attica.storage
Page: The basic representation of an attica page.
Page(Relation, PageIdentifier) - Constructor for class org.dejave.attica.storage.Page
Creates a new page given its schema and page identifier.
PAGE_SIZE - Static variable in class org.dejave.attica.storage.Sizes
The number of bytes per attica page.
PageIdentifier - Class in org.dejave.attica.storage
PageIdentifier: Identifies an attica page on disk.
PageIdentifier(String, int) - Constructor for class org.dejave.attica.storage.PageIdentifier
Creates a new identifier.
PageIOManager - Class in org.dejave.attica.storage
PageIOManager: Implements page I/O over attica files.
PageIOManager() - Constructor for class org.dejave.attica.storage.PageIOManager
Constructs a new page I/O manager.
pages() - Method in class org.dejave.attica.storage.RelationIOManager
Opens a page iterator over this relation.
Pair<F,S> - Class in org.dejave.util
 
Pair() - Constructor for class org.dejave.util.Pair
Default constructor.
Pair(F, S) - Constructor for class org.dejave.util.Pair
Constructs a new pair given its first and second elements.
ParseException - Exception in org.dejave.attica.sql.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.dejave.attica.sql.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.dejave.attica.sql.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.dejave.attica.sql.parser.ParseException
Constructor with message.
PERCENT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
PhysicalJoin - Class in org.dejave.attica.engine.operators
PhysicalJoin: The base class for all joins.
PhysicalJoin(Operator, Operator, StorageManager, Predicate) - Constructor for class org.dejave.attica.engine.operators.PhysicalJoin
Constructs a new physical join operator.
pickPair(List<Join>, List<Operator>) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Given a collection of algebraic joins and a collection of sub-plans, it picks a pair of branches to join.
PlanBuilder - Class in org.dejave.attica.engine.optimiser
PlanBuilder: Given a collection of algebraic operators, constructs an evaluation plan to be used by the engine.
PlanBuilder(Catalog, StorageManager, Map<String, String>) - Constructor for class org.dejave.attica.engine.optimiser.PlanBuilder
Constructs a new plan builder instance, given a catalog and a storage manager.
PlanBuilderException - Exception in org.dejave.attica.engine.optimiser
PlanBuilderException: Exception thrown when building a plan.
PlanBuilderException(String) - Constructor for exception org.dejave.attica.engine.optimiser.PlanBuilderException
Constructs a new exception instance.
PlanBuilderException(String, Throwable) - Constructor for exception org.dejave.attica.engine.optimiser.PlanBuilderException
Constructs a new exception instance given a message and an originating throwable.
PLUS - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Predicate - Interface in org.dejave.attica.engine.predicates
Predicate: Access to the evaluate() method -- all predicate classes should implement this interface.
PredicateEvaluator - Class in org.dejave.attica.engine.predicates
PredicateEvaluator: The predicate evaluator for the entire system.
PredicateEvaluator() - Constructor for class org.dejave.attica.engine.predicates.PredicateEvaluator
 
predicates() - Method in class org.dejave.attica.engine.predicates.ListPredicate
Returns the iterable list of predicates.
PredicateTupleInserter - Class in org.dejave.attica.engine.predicates
PredicateTupleInserter: It inserts one or more tuples into a predicate depending on whether the predicate is a tuple/value or a tuple/tuple predicate.
PredicateTupleInserter() - Constructor for class org.dejave.attica.engine.predicates.PredicateTupleInserter
 
prefix(int) - Method in class org.dejave.attica.engine.operators.Operator
Create a prefix string for the textual representation.
prevCharIsCR - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
prevCharIsLF - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
processTuple(Tuple, int) - Method in class org.dejave.attica.engine.operators.Operator
Processes a single tuple from an operator, producing multiple tuples in the output.
Project - Class in org.dejave.attica.engine.operators
Project: Implements standard attribute projection.
Project(Operator, int[]) - Constructor for class org.dejave.attica.engine.operators.Project
Constructs a new projection operator.
Projection - Class in org.dejave.attica.engine.algebra
Projection: The algebraic representation of a projection.
Projection() - Constructor for class org.dejave.attica.engine.algebra.Projection
Default constructor.
Projection(List<Variable>) - Constructor for class org.dejave.attica.engine.algebra.Projection
Constructs a new projection.
projections() - Method in class org.dejave.attica.engine.algebra.Projection
Retrieves this projection's projection list.
put(K, V) - Method in class org.dejave.util.DuplicateHashMap
 
put(K, V) - Method in class org.dejave.util.LRUMap
 
putPage(Page) - Method in class org.dejave.attica.storage.BufferManager
Wrapper for putting a page in the buffer pool, assuming the page is dirty.
putPage(Page, boolean) - Method in class org.dejave.attica.storage.BufferManager
Puts a page in the buffer pool.

Q

Qualification - Class in org.dejave.attica.engine.algebra
Qualification: The base class of all algebraic qualifications.
Qualification() - Constructor for class org.dejave.attica.engine.algebra.Qualification
Default constructor.
Qualification(Qualification.Relationship) - Constructor for class org.dejave.attica.engine.algebra.Qualification
Constructs a new qualification given a relationship.
Qualification.Relationship - Enum in org.dejave.attica.engine.algebra
 
QualificationOperator() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
QualifiedAttribute() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
Query - Class in org.dejave.attica.server
Query: Encapsulates a user query.
Query(List<AlgebraicOperator>) - Constructor for class org.dejave.attica.server.Query
Constructs a new query.
Query() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
QUESTIONMARK - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.

R

READ - Static variable in class org.dejave.attica.storage.DatabaseFile
Constant signifying read access to a file
READ_WRITE - Static variable in class org.dejave.attica.storage.DatabaseFile
Constant signifying read/write access to a file.
readCatalog() - Method in class org.dejave.attica.storage.Catalog
Reads in the catalog from the file specified by the filename passed as an argument to the constructor.
readChar() - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
Read a character.
readPage(Relation, PageIdentifier, RandomAccessFile) - Static method in class org.dejave.attica.storage.PageIOManager
Reads a page from disk.
readPage(Relation, PageIdentifier) - Method in class org.dejave.attica.storage.StorageManager
Reads a page from the database given the page's identifier.
readTuple(byte[], int) - Method in class org.dejave.attica.storage.TupleIOManager
Reads a tuple from a byte array -- should be used when there is page buffering.
registerPage(Page) - Method in class org.dejave.attica.storage.StorageManager
Registers a page with the buffer pool.
ReInit(Reader, int, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class org.dejave.attica.sql.parser.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Static method in class org.dejave.attica.sql.parser.SQLParser
Reinitialise.
ReInit(InputStream, String) - Static method in class org.dejave.attica.sql.parser.SQLParser
Reinitialise.
ReInit(Reader) - Static method in class org.dejave.attica.sql.parser.SQLParser
Reinitialise.
ReInit(SQLParserTokenManager) - Method in class org.dejave.attica.sql.parser.SQLParser
Reinitialise.
ReInit(SimpleCharStream) - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
Reinitialise parser.
Relation - Class in org.dejave.attica.model
Relation: The attica encapsulation of a relation schema.
Relation() - Constructor for class org.dejave.attica.model.Relation
Default constructor for a relation.
Relation(List<Attribute>) - Constructor for class org.dejave.attica.model.Relation
Constructs a relation given a List of attributes.
Relation(Relation) - Constructor for class org.dejave.attica.model.Relation
Copy constructor for a relation.
RelationalExpression() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
RelationIOManager - Class in org.dejave.attica.storage
RelationIOManager: The basic class that undertakes relation I/O.
RelationIOManager(StorageManager, Relation, String) - Constructor for class org.dejave.attica.storage.RelationIOManager
Constructs a new relation I/O manager.
RelationScan - Class in org.dejave.attica.engine.operators
RelationScan: Scans an input relation from its primary file.
RelationScan(StorageManager, Relation, String) - Constructor for class org.dejave.attica.engine.operators.RelationScan
Constructs a new relation scan operator
remove(K) - Method in class org.dejave.util.DuplicateHashMap
 
remove(K) - Method in class org.dejave.util.LRUMap
 
retrieveTuple(int) - Method in class org.dejave.attica.storage.Page
Retrieves the specified tuple from the page.
reverseQR(Qualification.Relationship) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
 
reverseRelationship(Qualification.Relationship) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
 
RIGHT - Static variable in class org.dejave.attica.engine.operators.BinaryOperator
Denotes the right-hand side input operator.
runStatement(String) - Method in class org.dejave.attica.server.Database
Executes the given statement.

S

second - Variable in class org.dejave.util.Pair
The second element.
second - Variable in class org.dejave.util.Triplet
 
Select - Class in org.dejave.attica.engine.operators
Select: Implementation of a selection operator.
Select(Operator, Predicate) - Constructor for class org.dejave.attica.engine.operators.Select
Constructs a new selection operator given its input.
SELECT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
SelectClause() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
Selection - Class in org.dejave.attica.engine.algebra
Selection: The algebraic representation of a selection.
Selection() - Constructor for class org.dejave.attica.engine.algebra.Selection
Default constructor.
Selection(Qualification) - Constructor for class org.dejave.attica.engine.algebra.Selection
Constructs a new algebraic selection operator.
ServerException - Exception in org.dejave.attica.server
ServerException: The basic exception thrown for all DB server errors.
ServerException(String) - Constructor for exception org.dejave.attica.server.ServerException
Constructs a new server exception.
ServerException(String, Throwable) - Constructor for exception org.dejave.attica.server.ServerException
Constructs a new server exception given a message and originating throwable.
setCatalog(Catalog) - Method in class org.dejave.attica.sql.parser.SQLParser
 
setDebugStream(PrintStream) - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
Set debug output.
setInputs(List<Operator>) - Method in class org.dejave.attica.engine.operators.Operator
Inner method to set the inputs of the operator.
setNumber(int) - Method in class org.dejave.attica.storage.TupleIdentifier
Sets the number of this tuple in the file.
setNumberOfPages(String, int) - Static method in class org.dejave.attica.storage.FileUtil
 
setOutputRelation() - Method in class org.dejave.attica.engine.operators.ExternalSort
Operator class abstract interface -- sets the ouput relation of this sort operator.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.HashGroup
Operator class abstract interface -- sets the ouput relation of this sort operator.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.MessageSink
Doesn't do anything -- returns null by default.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.Operator
Subclasses should implement this method in order to specify the output relation of the operator.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.PhysicalJoin
Sets the output relation for this operator.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.Project
Sets the output relation of this projection.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.RelationScan
Sets the output relation of this relation scan.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.Select
Return a new relation for this operator's output relation.
setOutputRelation() - Method in class org.dejave.attica.engine.operators.Sink
Operator abstract interface -- sets the ouput relation of this sink operator.
setPredicate(int, Predicate) - Method in class org.dejave.attica.engine.predicates.ListPredicate
Sets the given predicate of the predicate list.
setPredicate(Predicate) - Method in class org.dejave.attica.engine.predicates.Negation
Sets the predicate to be negated.
setTabSize(int) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
 
setTuple(Tuple) - Method in class org.dejave.attica.engine.predicates.TupleValueCondition
Sets the tuple this predicate is to be evaluated on.
setTuple(int, Tuple) - Method in class org.dejave.attica.storage.Page
Sets the specified tuple.
setTupleIdentifier(TupleIdentifier) - Method in class org.dejave.attica.storage.Tuple
Sets this tuple's identifier.
setTuples(Tuple, Tuple) - Method in class org.dejave.attica.engine.predicates.TupleTupleCondition
Sets the two tuples the predicate is to be evaluated over.
setup() - Method in class org.dejave.attica.engine.operators.ExternalSort
Sets up this external sort operator.
setup() - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Sets up this merge join operator.
setup() - Method in class org.dejave.attica.engine.operators.HashGroup
Sets up this external sort operator.
setup() - Method in class org.dejave.attica.engine.operators.MergeJoin
Sets up this grace hash join operator.
setup() - Method in class org.dejave.attica.engine.operators.NestedLoopsJoin
Sets up a nested loops join operator.
setup() - Method in class org.dejave.attica.engine.operators.Operator
Some operators might need to perform some initial setting up.
setup() - Method in class org.dejave.attica.engine.operators.RelationScan
Sets up the relation scan.
setup() - Method in class org.dejave.attica.engine.operators.Sink
Sets up this sink operator.
setValue(int, Comparable) - Method in class org.dejave.attica.storage.Tuple
Sets a value of the tuple.
setValues(List<Comparable>) - Method in class org.dejave.attica.storage.Tuple
Sets the values of this tuple.
SHORT - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
SHORT_SIZE - Static variable in class org.dejave.util.Convert
 
ShowCatalog - Class in org.dejave.attica.server
ShowCatalog: Dumps the system catalog.
ShowCatalog() - Constructor for class org.dejave.attica.server.ShowCatalog
Default constructor.
shutdown() - Method in class org.dejave.attica.server.Database
Shuts down the server.
shutdown() - Method in class org.dejave.attica.storage.StorageManager
 
SimpleCharStream - Class in org.dejave.attica.sql.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 org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class org.dejave.attica.sql.parser.SimpleCharStream
Constructor.
Sink - Class in org.dejave.attica.engine.operators
Sink: An operator acting as a sink for other operators (i.e., it simply saves its input and propagates it on getNext() calls).
Sink() - Constructor for class org.dejave.attica.engine.operators.Sink
Default constructor.
Sink(Operator, StorageManager, String) - Constructor for class org.dejave.attica.engine.operators.Sink
Constructs a new sink operator.
size() - Method in class org.dejave.attica.storage.Tuple
Returns the size in slots of this tuple.
size() - Method in class org.dejave.util.DuplicateHashMap
 
size() - Method in class org.dejave.util.LRUMap
 
Sizes - Class in org.dejave.attica.storage
Sizes: Set the various sizes for the attica storage engine.
Sizes() - Constructor for class org.dejave.attica.storage.Sizes
 
SLASH - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Sort - Class in org.dejave.attica.engine.algebra
 
Sort() - Constructor for class org.dejave.attica.engine.algebra.Sort
Default constructor.
Sort(List<Variable>) - Constructor for class org.dejave.attica.engine.algebra.Sort
Constructs a new sort operator.
SortClause() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
sorts() - Method in class org.dejave.attica.engine.algebra.Sort
Retrieves the sort's sort list.
SourceOperator - Class in org.dejave.attica.engine.operators
SourceOperator: An operator that acts as a source to other operators.
SourceOperator() - Constructor for class org.dejave.attica.engine.operators.SourceOperator
Constructs a new source operator.
specialToken - Variable in class org.dejave.attica.sql.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 - Class in org.dejave.attica.sql.parser
 
SQLParser(InputStream) - Constructor for class org.dejave.attica.sql.parser.SQLParser
Constructor with InputStream.
SQLParser(InputStream, String) - Constructor for class org.dejave.attica.sql.parser.SQLParser
Constructor with InputStream and supplied encoding
SQLParser(Reader) - Constructor for class org.dejave.attica.sql.parser.SQLParser
Constructor.
SQLParser(SQLParserTokenManager) - Constructor for class org.dejave.attica.sql.parser.SQLParser
Constructor with generated Token Manager.
SQLParserConstants - Interface in org.dejave.attica.sql.parser
Token literal values and constants.
SQLParserTokenManager - Class in org.dejave.attica.sql.parser
Token Manager.
SQLParserTokenManager(SimpleCharStream) - Constructor for class org.dejave.attica.sql.parser.SQLParserTokenManager
Constructor.
SQLParserTokenManager(SimpleCharStream, int) - Constructor for class org.dejave.attica.sql.parser.SQLParserTokenManager
Constructor.
Start() - Static method in class org.dejave.attica.sql.parser.SQLParser
The SQL grammar starts from this point forward **
Statement - Class in org.dejave.attica.server
Command: Superclass of all user statements.
Statement() - Constructor for class org.dejave.attica.server.Statement
Constructs a new statement.
staticFlag - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
Whether parser is static.
StorageManager - Class in org.dejave.attica.storage
StorageManager: The storage manager of attica.
StorageManager(Catalog, BufferManager) - Constructor for class org.dejave.attica.storage.StorageManager
Initializes a new storage manager, given a catalog and a buffer pool.
StorageManagerException - Exception in org.dejave.attica.storage
StorageManagerException: The base class for all the exceptions of the storage manager.
StorageManagerException(String) - Constructor for exception org.dejave.attica.storage.StorageManagerException
Creates a new exception to be thrown.
StorageManagerException(String, Throwable) - Constructor for exception org.dejave.attica.storage.StorageManagerException
Creates a new exception to be thrown.
STRING - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
STRING_LITERAL - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
SUM - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
swap(int, int) - Method in class org.dejave.attica.storage.Page
Swaps two tuples by their indexes.
SwitchTo(int) - Static method in class org.dejave.attica.sql.parser.SQLParserTokenManager
Switch to specified lex state.
symbolString() - Method in class org.dejave.attica.engine.predicates.Condition
Convert the qualification to a string.
symbolString() - Method in class org.dejave.attica.engine.predicates.TupleTupleCondition
Convert the qualification to a string.
symbolString() - Method in class org.dejave.attica.engine.predicates.TupleValueCondition
Convert the qualification to a string

T

Table - Class in org.dejave.attica.model
Table: Encapsulates a Table in the attica data model.
Table(String) - Constructor for class org.dejave.attica.model.Table
Constructs a new table given its name.
Table(String, List<Attribute>) - Constructor for class org.dejave.attica.model.Table
Constructs a table given a name and List of attributes.
Table() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
TABLE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
TableAttribute - Class in org.dejave.attica.model
TableAttribute: a qualified attribute that appears in a table (wraps a standard attribute).
TableAttribute(String, String, Class<? extends Comparable>) - Constructor for class org.dejave.attica.model.TableAttribute
Constructs a new table attribute given table, name and type.
TableAttribute(TableAttribute) - Constructor for class org.dejave.attica.model.TableAttribute
Copy constructor for table attributes.
TableCreation - Class in org.dejave.attica.server
TableCreation: Encapsulates a table creation command.
TableCreation(Table) - Constructor for class org.dejave.attica.server.TableCreation
Constructs a new table creation command.
TableDeletion - Class in org.dejave.attica.server
TableDeletion: Encapsulates a table deletion command.
TableDeletion(String) - Constructor for class org.dejave.attica.server.TableDeletion
Constructs a table deletion statement.
TableDescription - Class in org.dejave.attica.server
TableDescription: A table description command.
TableDescription(String) - Constructor for class org.dejave.attica.server.TableDescription
Constructs a new table description command.
tableExists(String) - Method in class org.dejave.attica.storage.Catalog
Checks to see whether the given table exists in the catalog.
TableIOManager - Class in org.dejave.attica.storage
TableIOManager: Convenience class to extend RelationIOManager for tables.
TableIOManager(StorageManager, Table, String) - Constructor for class org.dejave.attica.storage.TableIOManager
Constructs a new table manager.
TableList() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
tabSize - Static variable in class org.dejave.attica.sql.parser.SimpleCharStream
 
TEMP_DIR - Static variable in class org.dejave.attica.server.Database
Temporary directory.
third - Variable in class org.dejave.util.Triplet
 
toByte(int, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(int) - Static method in class org.dejave.util.Convert
 
toByte(short, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(short) - Static method in class org.dejave.util.Convert
 
toByte(long, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(long) - Static method in class org.dejave.util.Convert
 
toByte(char, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(char) - Static method in class org.dejave.util.Convert
 
toByte(float, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(float) - Static method in class org.dejave.util.Convert
 
toByte(double, byte[], int) - Static method in class org.dejave.util.Convert
 
toByte(double) - Static method in class org.dejave.util.Convert
 
toByte(String) - Static method in class org.dejave.util.Convert
 
toByte(String, byte[], int) - Static method in class org.dejave.util.Convert
 
toChar(byte[]) - Static method in class org.dejave.util.Convert
 
toChar(byte[], int) - Static method in class org.dejave.util.Convert
 
toDouble(byte[]) - Static method in class org.dejave.util.Convert
 
toDouble(byte[], int) - Static method in class org.dejave.util.Convert
 
toFloat(byte[]) - Static method in class org.dejave.util.Convert
 
toFloat(byte[], int) - Static method in class org.dejave.util.Convert
 
toInt(byte[]) - Static method in class org.dejave.util.Convert
 
toInt(byte[], int) - Static method in class org.dejave.util.Convert
 
token - Static variable in class org.dejave.attica.sql.parser.SQLParser
Current token.
Token - Class in org.dejave.attica.sql.parser
Describes the input token stream.
Token() - Constructor for class org.dejave.attica.sql.parser.Token
No-argument constructor
Token(int) - Constructor for class org.dejave.attica.sql.parser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.dejave.attica.sql.parser.Token
Constructs a new token for the specified Image and Kind.
token_source - Static variable in class org.dejave.attica.sql.parser.SQLParser
Generated Token Manager.
tokenImage - Variable in exception org.dejave.attica.sql.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 org.dejave.attica.sql.parser.SQLParserConstants
Literal token values.
TokenMgrError - Error in org.dejave.attica.sql.parser
Token Manager Error.
TokenMgrError() - Constructor for error org.dejave.attica.sql.parser.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.dejave.attica.sql.parser.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.dejave.attica.sql.parser.TokenMgrError
Full Constructor.
toLong(byte[]) - Static method in class org.dejave.util.Convert
 
toLong(byte[], int) - Static method in class org.dejave.util.Convert
 
toShort(byte[]) - Static method in class org.dejave.util.Convert
 
toShort(byte[], int) - Static method in class org.dejave.util.Convert
 
toString() - Method in class org.dejave.attica.engine.algebra.Group
A textual representation of this operation.
toString() - Method in class org.dejave.attica.engine.algebra.InitialProjection
A textual representation of this projection.
toString() - Method in class org.dejave.attica.engine.algebra.Join
A textual representation of this join.
toString() - Method in class org.dejave.attica.engine.algebra.Projection
A textual representation of this projection.
toString() - Method in class org.dejave.attica.engine.algebra.Qualification
Textual representation of this quelification.
toString() - Method in class org.dejave.attica.engine.algebra.Selection
A textual representation of this selection.
toString() - Method in class org.dejave.attica.engine.algebra.Sort
A textual representation of this operation.
toString() - Method in class org.dejave.attica.engine.algebra.VariableValueQualification
Textual representation.
toString() - Method in class org.dejave.attica.engine.algebra.VariableVariableQualification
Textual representation.
toString() - Method in class org.dejave.attica.engine.operators.EndOfStreamTuple
Textual representation.
toString() - Method in class org.dejave.attica.engine.operators.Operator
Textual representation.
toString(int) - Method in class org.dejave.attica.engine.operators.Operator
Textual representation starting at a given level of the evaluation plan.
toString() - Method in class org.dejave.attica.engine.predicates.Condition
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.ListPredicate
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.Negation
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.TrueCondition
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.TupleSlotPointer
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.TupleTupleCondition
Textual representation.
toString() - Method in class org.dejave.attica.engine.predicates.TupleValueCondition
Textual representation.
toString() - Method in class org.dejave.attica.model.Attribute
Textual representation.
toString() - Method in class org.dejave.attica.model.Relation
Textual representation.
toString() - Method in class org.dejave.attica.model.TableAttribute
Textual representation.
toString() - Method in class org.dejave.attica.sql.parser.Token
Returns the image.
toString() - Method in class org.dejave.attica.storage.Catalog
Returns the string representation of this catalog.
toString() - Method in class org.dejave.attica.storage.CatalogEntry
String representation.
toString() - Method in class org.dejave.attica.storage.Page
Returns a textual representation of the page.
toString() - Method in class org.dejave.attica.storage.PageIdentifier
Returns a string representation of this identifier.
toString() - Method in class org.dejave.attica.storage.Tuple
Textual representation.
toString() - Method in class org.dejave.attica.storage.TupleIdentifier
Textual representation.
toString(byte[]) - Static method in class org.dejave.util.Convert
 
toString() - Method in class org.dejave.util.DuplicateHashMap
 
toString() - Method in class org.dejave.util.LRUMap
 
toString() - Method in class org.dejave.util.Pair
Textual representation.
toString() - Method in class org.dejave.util.Triplet
 
toStringFormatted() - Method in class org.dejave.attica.engine.operators.EndOfStreamTuple
 
toStringFormatted() - Method in class org.dejave.attica.storage.Tuple
 
toStringSingle() - Method in class org.dejave.attica.engine.operators.GraceHashJoin
Textual representation
toStringSingle() - Method in class org.dejave.attica.engine.operators.MergeJoin
Textual representation
toStringSingle() - Method in class org.dejave.attica.engine.operators.NestedLoopsJoin
Textual representation.
toStringSingle() - Method in class org.dejave.attica.engine.operators.Operator
Convert only this operator to string and not the ones below.
toStringSingle() - Method in class org.dejave.attica.engine.operators.Project
Textual representation
toStringSingle() - Method in class org.dejave.attica.engine.operators.RelationScan
Textual representation.
toStringSingle() - Method in class org.dejave.attica.engine.operators.Select
Textual representation.
toStringSingle() - Method in class org.dejave.attica.engine.operators.Sink
Textual representation
touchPage(PageIdentifier) - Method in class org.dejave.attica.storage.BufferManager
Touches the page corresponding to the pageid making it dirty and moving it to the back of the replacement queue.
touchPage(Page) - Method in class org.dejave.attica.storage.BufferManager
Touches a page in the buffer pool (if it exists) making it dirty and setting its timestamp.
translateRelationship(Qualification.Relationship) - Method in class org.dejave.attica.engine.optimiser.PlanBuilder
Translator from logical to physical qualifications.
Triplet<F,S,T> - Class in org.dejave.util
 
Triplet() - Constructor for class org.dejave.util.Triplet
 
Triplet(F, S, T) - Constructor for class org.dejave.util.Triplet
 
TrueCondition - Class in org.dejave.attica.engine.predicates
TrueCondition: A condition that always evaluates to true.
TrueCondition() - Constructor for class org.dejave.attica.engine.predicates.TrueCondition
 
Tuple - Class in org.dejave.attica.storage
Tuple: The basic encapsulation of an attica Tuple.
Tuple() - Constructor for class org.dejave.attica.storage.Tuple
Constructs a new empty Tuple.
Tuple(TupleIdentifier, List<Comparable>) - Constructor for class org.dejave.attica.storage.Tuple
Constructs a new tuple given an identifier and a List of values.
tupleCounter - Variable in class org.dejave.attica.engine.operators.Operator
A counter of already produced tuples -- all subclasses have access to this counter.
TupleIdentifier - Class in org.dejave.attica.storage
TupleIdentifier: An identifier for an attica tuple.
TupleIdentifier(String) - Constructor for class org.dejave.attica.storage.TupleIdentifier
Constructs a new tuple identifier given just the name of the file the tuple belongs to -- the number will be set later.
TupleIdentifier(String, int) - Constructor for class org.dejave.attica.storage.TupleIdentifier
Constructs a new tuple given the filename it belongs to and its number in that file.
TupleInsertion - Class in org.dejave.attica.server
TupleInsertion: A new tuple insertion.
TupleInsertion(String, List<Comparable>) - Constructor for class org.dejave.attica.server.TupleInsertion
Constructs a new tuple insertion command.
TupleIOManager - Class in org.dejave.attica.storage
TupleIOManager: Takes care of tuple input and output.
TupleIOManager(Relation, String) - Constructor for class org.dejave.attica.storage.TupleIOManager
Construct a new manager given a relation schema.
tuples() - Method in class org.dejave.attica.engine.operators.Operator
Returns an iterable over the tuples returned by this operator.
tuples() - Method in class org.dejave.attica.storage.RelationIOManager
Opens a tuple iterator over this relation.
TupleSlotPointer - Class in org.dejave.attica.engine.predicates
TupleSlotPointer: A pointer to a slot of a tuple.
TupleSlotPointer(Class<? extends Comparable>, int) - Constructor for class org.dejave.attica.engine.predicates.TupleSlotPointer
Constructs a new tuple slot pointer given the slot.
TupleTupleCondition - Class in org.dejave.attica.engine.predicates
TupleTupleCondition: A condition across tuples.
TupleTupleCondition(TupleSlotPointer, TupleSlotPointer, Condition.Qualification) - Constructor for class org.dejave.attica.engine.predicates.TupleTupleCondition
Constructs a new condition across tuples.
TupleValueCondition - Class in org.dejave.attica.engine.predicates
TupleValueCondition: A condition on a tuple slot and a value.
TupleValueCondition(TupleSlotPointer, Comparable, Condition.Qualification) - Constructor for class org.dejave.attica.engine.predicates.TupleValueCondition
Constructs a new TupleValueCondition given a pointer to a tuple slot and a Comparable.
Type() - Static method in class org.dejave.attica.sql.parser.SQLParser
 

U

UnaryExpression() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
UnaryOperator - Class in org.dejave.attica.engine.operators
UnaryOperator: Models a unary engine operator.
UnaryOperator() - Constructor for class org.dejave.attica.engine.operators.UnaryOperator
Constructs a new unary operator given an input operator.
UnaryOperator(Operator) - Constructor for class org.dejave.attica.engine.operators.UnaryOperator
Constructs a new unary operator given an input operator.
UpdateLineColumn(char) - Static method in class org.dejave.attica.sql.parser.SimpleCharStream
 

V

ValueList() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
valueOf(String) - Static method in enum org.dejave.attica.engine.algebra.Qualification.Relationship
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dejave.attica.engine.predicates.Condition.Qualification
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dejave.attica.engine.algebra.Qualification.Relationship
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dejave.attica.engine.predicates.Condition.Qualification
Returns an array containing the constants of this enum type, in the order they are declared.
VALUES - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
Variable - Class in org.dejave.attica.engine.algebra
Variable: Encapsulates a qualification/projection variable.
Variable(String, String) - Constructor for class org.dejave.attica.engine.algebra.Variable
Constructs a new variable.
VariableValueQualification - Class in org.dejave.attica.engine.algebra
VariableValueQualification: A qualification between a variable and a value.
VariableValueQualification(Qualification.Relationship, Variable, String) - Constructor for class org.dejave.attica.engine.algebra.VariableValueQualification
Constructs a new qualification between a variable and a value.
VariableVariableQualification - Class in org.dejave.attica.engine.algebra
VariableVariableQualification: A qualification between two variables.
VariableVariableQualification(Qualification.Relationship, Variable, Variable) - Constructor for class org.dejave.attica.engine.algebra.VariableVariableQualification
Constructs a new qualification between variables.

W

WHERE - Static variable in interface org.dejave.attica.sql.parser.SQLParserConstants
RegularExpression Id.
WhereClause() - Static method in class org.dejave.attica.sql.parser.SQLParser
 
writeCatalog() - Method in class org.dejave.attica.storage.Catalog
Writes the catalog into the specified file specified by the filename passed as an argument to the constructor.
writePage(RandomAccessFile, Page) - Static method in class org.dejave.attica.storage.PageIOManager
Writes a page to an output file.
writePage(Page) - Method in class org.dejave.attica.storage.StorageManager
Writes a page to disk.
writeTuple(Tuple, byte[], int) - Method in class org.dejave.attica.storage.TupleIOManager
Writes a tuple to a byte array -- should be used when there is page buffering.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links