Turtle DB
A mini DDBMS
ca.uqac.dim.ddb.UnaryRelation Class Reference
Inheritance diagram for ca.uqac.dim.ddb.UnaryRelation:
ca.uqac.dim.ddb.Relation ca.uqac.dim.ddb.Projection ca.uqac.dim.ddb.Selection ca.uqac.dim.ddb.VariableTable

List of all members.

Public Member Functions

void setRelation (Relation r)
void reset ()
int tupleCount ()

Protected Attributes

Relation m_relation

Member Function Documentation

Resets the enumeration of tuples, i.e. starts back at the first tuple of the relation.

Reimplemented from ca.uqac.dim.ddb.Relation.

Returns the number of actual tuples present in the query. This number is different from the cardinality of the query; it counts the number of tuples that are present in the leaves of the query tree.

Returns:
The tuple count

Implements ca.uqac.dim.ddb.Relation.

Reimplemented in ca.uqac.dim.ddb.VariableTable.


Member Data Documentation


The documentation for this class was generated from the following file: