Turtle DB
A mini DDBMS
|
Public Member Functions | |
void | setRelation (Relation r) |
void | reset () |
int | tupleCount () |
Protected Attributes | |
Relation | m_relation |
void ca.uqac.dim.ddb.UnaryRelation.reset | ( | ) |
Resets the enumeration of tuples, i.e. starts back at the first tuple of the relation.
Reimplemented from ca.uqac.dim.ddb.Relation.
int ca.uqac.dim.ddb.UnaryRelation.tupleCount | ( | ) | [virtual] |
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.
Implements ca.uqac.dim.ddb.Relation.
Reimplemented in ca.uqac.dim.ddb.VariableTable.
Relation ca.uqac.dim.ddb.UnaryRelation.m_relation [protected] |