[ 
https://issues.apache.org/jira/browse/JCR-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Kiehl updated JCR-1073:
---------------------------------

    Attachment: patch.txt

A first shot how this might look like. I stumbled over QueryResultImpl which is 
apparently no longer used. Instead LazyQueryResultImpl is used. Can we discard 
QueryResultImpl and rename LazyQueryResultImpl to QueryResultImpl? We could 
then just implemented getTotalSize() on QueryResultImpl without the need for a 
further interface or abstract base class for both QueryResult implementations.

> Add getTotalSize() to QueryResults
> ----------------------------------
>
>                 Key: JCR-1073
>                 URL: https://issues.apache.org/jira/browse/JCR-1073
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: query
>            Reporter: Christoph Kiehl
>            Assignee: Christoph Kiehl
>            Priority: Minor
>         Attachments: patch.txt
>
>
> As discussed in 
> http://www.nabble.com/Total-size-of-a-query-result-and-setLimit%28%29-tf4280909.html#a12185543
>  a getTotalSize() method should be added to QueryResults.

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

Reply via email to