protected class VariableTable.VariableTableStreamIterator extends UnaryRelation.UnaryRelationStreamIterator
| Modifier and Type | Field and Description |
|---|---|
protected RelationIterator |
m_iterator |
protected Tuple |
m_nextTuple |
m_childIteratorm_internalNextCalled, m_outputTuples| Constructor and Description |
|---|
VariableTableStreamIterator() |
| 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 RelationIterator m_iterator
protected Tuple m_nextTuple
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 UnaryRelation.UnaryRelationStreamIteratorCopyright © Sylvain HallĂ©. All Rights Reserved.