public interface QueryCursor<T> extends Iterable<T>, AutoCloseable
Iterableonly for convenience, e.g.
Iterable.iterator()can be obtained only once. Also if iteration is started then
getAll()method calls are prohibited.
|Modifier and Type||Method and Description|
Closes all resources related to this cursor.
Gets all query results and stores them in the collection.
forEach, iterator, spliterator
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.
Note: don't forget to close query cursors. Not doing so may lead to various resource leaks.
Follow @ApacheIgnite Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022