jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2612) Smart getSize() for query results
Date Mon, 19 Apr 2010 12:31:49 GMT
Smart getSize() for query results
---------------------------------

                 Key: JCR-2612
                 URL: https://issues.apache.org/jira/browse/JCR-2612
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core, query
            Reporter: Jukka Zitting
            Priority: Minor


Instead of so often returning -1, it would be nice if the getSize() method of query result
iterators would automatically prefetch something like up to 1k results and only return -1
if there were still more results. That should make the getSize() method more useful for the
majority of cases even without extra "order by" clauses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message