org.apache.jdo.query
Interface QueryResultIterator

All Superinterfaces:
java.util.Iterator
All Known Implementing Classes:
BasicQueryResult.BasicQueryResultIterator

public interface QueryResultIterator
extends java.util.Iterator

This interface is used to iterate a query result. It is returned to the user in response to the iterator() method of the query result Collection.

Version:
0.9
Author:
Craig Russell

Method Summary
 void close()
          Close this iterator and release any resources held.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

close

void close()
Close this iterator and release any resources held. After this method completes, the iterator will return false to hasNext(), and will throw NoSuchElementException to next().



Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.