TurtleDB
A mini distributed database system
|
Public Member Functions | |
NAryRelationStreamIterator () | |
void | reset () |
Protected Member Functions | |
void | initializeIteration () |
Tuple | incrementSmallestTuple () |
Protected Attributes | |
boolean | m_first |
Vector< Tuple > | m_lastTuple |
Vector< RelationIterator > | m_iterators |
Definition at line 87 of file NAryRelation.java.
Definition at line 104 of file NAryRelation.java.
Tuple ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.incrementSmallestTuple | ( | ) | [protected] |
Returns the smallest tuple in the vector of tuples, and increments the relation that produced it
Definition at line 140 of file NAryRelation.java.
void ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.initializeIteration | ( | ) | [protected] |
Definition at line 116 of file NAryRelation.java.
Resets the enumeration of tuples, i.e. starts back at the first tuple of the relation.
Reimplemented from ca.uqac.dim.turtledb.RelationStreamIterator.
Definition at line 172 of file NAryRelation.java.
boolean ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_first [protected] |
Determines if the tuple to output is the first one in the iteration
Definition at line 92 of file NAryRelation.java.
Vector<RelationIterator> ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_iterators [protected] |
Iterators on each relation
Definition at line 102 of file NAryRelation.java.
Vector<Tuple> ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_lastTuple [protected] |
Vector containing the last tuple taken from each table
Definition at line 97 of file NAryRelation.java.