[infinispan-issues] [JBoss JIRA] (ISPN-4088) Modify signature of Query/CacheQuery.getResultSize() and related offset/pagination methods to return long

Tristan Tarrant (JIRA) issues at jboss.org
Mon Jan 12 08:42:49 EST 2015


    [ https://issues.jboss.org/browse/ISPN-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031765#comment-13031765 ] 

Tristan Tarrant commented on ISPN-4088:
---------------------------------------

This would break API. It will need to be postponed to 8.0

> Modify signature of Query/CacheQuery.getResultSize() and related offset/pagination methods to return long
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-4088
>                 URL: https://issues.jboss.org/browse/ISPN-4088
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Embedded Querying, Remote Querying
>    Affects Versions: 6.0.0.Final
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>              Labels: 64QueryBlockers
>             Fix For: 7.1.0.CR1
>
>
> The method exists in both new DSL and the classic query api.
> It should be clarified whether this method and the related pagination methods should use int or long for specifying offsets within the data, also should decide if the total number of results / results per page is a long or an int - and update all involved method signatures to have a unitary treatment of this issue.
> It appears that recent Lucene versions can offer the number of results as long, while older ones offer it as int (should be verified).
> This issue was raised in a github conversation here: https://github.com/infinispan/infinispan/pull/2410



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list