TurtleDB
A mini distributed database system
|
Public Member Functions | |
TableStreamIterator () | |
void | reset () |
Protected Member Functions | |
Tuple | internalNext () |
Protected Attributes | |
Iterator< Tuple > | m_iterator |
Definition at line 221 of file Table.java.
Definition at line 225 of file Table.java.
Tuple ca.uqac.dim.turtledb.Table.TableStreamIterator.internalNext | ( | ) | [protected, virtual] |
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.
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.
Iterator<Tuple> ca.uqac.dim.turtledb.Table.TableStreamIterator.m_iterator [protected] |
Definition at line 223 of file Table.java.