protected class Table.TableStreamIterator extends RelationStreamIterator
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Iterator<Tuple> |
m_iterator |
m_internalNextCalled, m_nextTuple, m_outputTuples| Constructor and Description |
|---|
TableStreamIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected Tuple |
internalNext()
Method that must be implemented by every non-abstract
relation; it returns the next tuple
of the enumeration, if any.
|
void |
reset()
Resets the enumeration of tuples, i.e.
|
hasNext, next, removeprotected java.util.Iterator<Tuple> m_iterator
protected Tuple internalNext()
RelationStreamIteratornext 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.internalNext in class RelationStreamIteratorpublic void reset()
RelationStreamIteratorreset in interface RelationIteratorreset in class RelationStreamIteratorCopyright © Sylvain HallĂ©. All Rights Reserved.