|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saffron.rel.plan.NestedLoopJoinPlan.NestedLoopJoinIterator
Field Summary | |
(package private) boolean |
done
|
(package private) boolean |
haveMovedToNext
|
(package private) Field[] |
leftFields
If the left input is a synthetic class, then leftFields are the n fields within the row to put leftSourceFields, the n fields of the row from the left input. |
(package private) Field[] |
leftSourceFields
If the left input is a synthetic class, then leftFields are the n fields within the row to put leftSourceFields, the n fields of the row from the left input. |
(package private) Field[] |
rightFields
If the left input is a synthetic class, then leftFields are the n fields within the row to put leftSourceFields, the n fields of the row from the left input. |
(package private) Field[] |
rightSourceFields
If the left input is a synthetic class, then leftFields are the n fields within the row to put leftSourceFields, the n fields of the row from the left input. |
(package private) Object |
row
|
Constructor Summary | |
(package private) |
NestedLoopJoinPlan.NestedLoopJoinIterator()
|
Method Summary | |
private Object |
createRow()
|
boolean |
hasNext()
We cannot call moveToNext() from next() , because
it calls next() on the underlying iterators, and might
therefore invalidate the objects it is about to return. |
private void |
moveToNext()
|
private void |
moveToNextIfNecessary()
|
Object |
next()
This method does not call moveToNext() , as would be
typical. |
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
boolean haveMovedToNext
boolean done
Field[] leftFields
Field[] rightFields
Field[] leftSourceFields
Field[] rightSourceFields
Object row
Constructor Detail |
NestedLoopJoinPlan.NestedLoopJoinIterator()
Method Detail |
private Object createRow()
private void moveToNext()
private void moveToNextIfNecessary()
public boolean hasNext()
moveToNext()
from next()
, because
it calls next()
on the underlying iterators, and might
therefore invalidate the objects it is about to return. We
therefore call moveToNext()
the first time that they call
hasNext()
. After they have called hasNext()
, the
row just returned may be invalid.
hasNext
in interface Iterator
public Object next()
moveToNext()
, as would be
typical. See hasNext()
for more details.
next
in interface Iterator
public void remove()
remove
in interface Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |