TurtleDB
A mini distributed database system
ca.uqac.dim.turtledb.VariableTable.VariableTableStreamIterator Class Reference
Inheritance diagram for ca.uqac.dim.turtledb.VariableTable.VariableTableStreamIterator:
Collaboration diagram for ca.uqac.dim.turtledb.VariableTable.VariableTableStreamIterator:

List of all members.

Public Member Functions

 VariableTableStreamIterator ()
void reset ()

Protected Member Functions

Tuple internalNext ()

Protected Attributes

RelationIterator m_iterator = null
Tuple m_nextTuple

Detailed Description

Definition at line 170 of file VariableTable.java.


Constructor & Destructor Documentation


Member Function Documentation

Method that must be implemented by every non-abstract relation; it returns the next tuple of the enumeration, if any. Methods next and hasNext use the return value of internalNext and additionally remove any duplicate tuples from the output enumeration. Hence a call to next may result in multiple calls to the relation's internalNext, if the tuples returned are already part of the result (this is especially true of Projections.

Returns:
The next tuple, null if no such tuple exists

Implements ca.uqac.dim.turtledb.RelationStreamIterator.

Definition at line 183 of file VariableTable.java.

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

Reimplemented from ca.uqac.dim.turtledb.UnaryRelation.UnaryRelationStreamIterator.

Definition at line 193 of file VariableTable.java.


Member Data Documentation


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