public interface QueryCursor<T> extends Iterable<T>, AutoCloseable
Iterable
only for convenience, e.g. Iterable.iterator()
can be obtained only once. Also if iteration is started then getAll()
method calls are prohibited.
Not thread safe and must be used from single thread only.
List<T> getAll()
Since all the results will be fetched, all the resources will be closed
automatically after this call, e.g. there is no need to call close()
method in this case.
void close()
close
in interface AutoCloseable
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015