- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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
-