Query cursor results are paginated automatically while you iterate over the
cursor. I.e. if the page size is 1024 (default), you will never have more
than 1024 entries in local memory. After you finish iteration through the
first page, he second one will be requested, and so on. This allows to avoid
out of memory issues in case of large result sets.

To change the size of the page you can use Query#setPageSize method.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Pagination-with-TextQuery-tp15176p15199.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to