All Packages Class Hierarchy This Package Previous Next Index
For "normal" scenarios, this makes for a very efficient programming model:
Iterator i = collection.evaluateQuery("your select/where clause"); InputEDStream s; while ((s = (InputEDStream)i.getNext() != null) {do whatever by s.readXXX();}
Most methods have a signature where an OutputEDStream can be passed in to be directly loaded (as if the Iterator was a Manageable object whose EDS consists of the items in the select clause of the query).
Iterator i = collection.evaluateQuery("your select/where clause"); OutputEDStream s = new MySpecialOutputStream(...); while (i.getNext(s)) {do whatever with s by its special methods;}
public abstract Object getNext()
object
that should be cast to
the appropriate type based on the query. A null return
indicates that there is no next entry.
public abstract void reset()
All Packages Class Hierarchy This Package Previous Next Index