saffron.runtime
Class IteratorPlan

java.lang.Object
  |
  +--saffron.runtime.IteratorPlan
All Implemented Interfaces:
Iterator, Plan
Direct Known Subclasses:
ArrayReaderPlan, NestedLoopJoinPlan

public abstract class IteratorPlan
extends Object
implements Plan

Base class for Plans which work by reading from an Iterator.


Field Summary
(package private)  Object current
           
protected  Iterator iterator
           
 
Constructor Summary
IteratorPlan()
           
 
Method Summary
 Object current()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface saffron.runtime.Plan
execute, explain
 

Field Detail

iterator

protected Iterator iterator

current

Object current
Constructor Detail

IteratorPlan

public IteratorPlan()
Method Detail

hasNext

public final boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public final Object next()
Specified by:
next in interface Iterator

current

public final Object current()
Specified by:
current in interface Plan

remove

public void remove()
Specified by:
remove in interface Iterator

SourceForge.net_Logo