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

List of all members.

Public Member Functions

 TableStreamIterator ()
void reset ()

Protected Member Functions

Tuple internalNext ()

Protected Attributes

Iterator< Tuplem_iterator

Detailed Description

Definition at line 221 of file Table.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 231 of file Table.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 238 of file Table.java.


Member Data Documentation

Definition at line 223 of file Table.java.


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