org.apache.jdo.query
Interface QueryResult

All Superinterfaces:
java.util.Collection
All Known Implementing Classes:
BasicQueryResult

public interface QueryResult
extends java.util.Collection

An instance of this interface is returned as the result of Query.execute(...).

Version:
0.9
Author:
Craig Russell

Method Summary
 void close()
          Close this query result and invalidate all iterators that have been opened on it.
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

close

public void close()
Close this query result and invalidate all iterators that have been opened on it. After this method completes, no more iterators can be opened; and all iterators currently open on it will return false to hasNext(), and will throw NoSuchElementException to next().