For queries that return a large result set, is it possible to obtain the total query result size if the size is larger than the page fetch size?
Example:
Page Fetch Size is 5,000.
Table has 100,000 rows
My query will produce a result set of 5,678 entries.
If I call getAvailableWithoutFetching, that will return 5,000, but I want to know the total of 5,678.
Is it possible to obtain the total potential result count of 5,678, but not the results themselves? In other words, I would like to obtain the 5,678 total from the ResultSet without calling all(), or without incurring a separate count(*) query or without prefetching other results.
Thanks!
-Steve