]
Nistor Adrian commented on ISPN-6162:
-------------------------------------
This was deprecated in 10.1 but not removed yet as it is needed in many uses cases and
there is no suitable replacement yet. It should have a suitable replacement by 11.
Drop Query.getResultSize() method
---------------------------------
Key: ISPN-6162
URL:
https://issues.redhat.com/browse/ISPN-6162
Project: Infinispan
Issue Type: Task
Components: Embedded Querying, Remote Querying
Reporter: Tristan Tarrant
Assignee: Nistor Adrian
Priority: Major
Fix For: 11.0.0.Final
Do we keep org.infinispan.query.dsl.Query.getResultSize? Does it return int or long?
Return -1 if actual figure unknown/hard to compute? Result size might be non-trivial for
non-indexed or hybrid case and will require full scan even for queries with limit.
Deprecate it now, remove in ispn 9.