Java API - XPathSchemaQuery

Hi all, I found that for doing a query in Java there’s also this API: which has a method setShouldRetrieveCount(...). Does it mean the query will retrieve the total amount even if a limit amount is set? And how would you be able to access that count after executing the query? regards, Fabian
1 answers

Hi Fabian,

I believe it does not affect the amount you are retrieving, only that in the response there wil be an indicator of the total amount of records that match your query. This total amount can be higher than the actual retrieved amount because of a limit-setting.

Does that make sense?