[infinispan-issues] [JBoss JIRA] (ISPN-6162) Drop Query.getResultSize() method

Nistor Adrian (Jira) issues at jboss.org
Wed Jan 8 08:46:06 EST 2020


    [ https://issues.redhat.com/browse/ISPN-6162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943736#comment-13943736 ] 

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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list