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

Adrian Nistor (JIRA) issues at jboss.org
Mon Mar 10 08:35:13 EDT 2014


Adrian Nistor created ISPN-4088:
-----------------------------------

             Summary: 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
             Fix For: 7.0.0.Final


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list