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.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()
Note: don't forget to close query cursors. Not doing so may lead to various resource leaks.
close
in interface AutoCloseable
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017