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] [Commented] (JCR-3474) Add JackrabbitQueryResult.getTotalSize()
Date Mon, 03 Dec 2012 09:23:58 GMT

    [ https://issues.apache.org/jira/browse/JCR-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508601#comment-13508601

Jukka Zitting commented on JCR-3474:

I replaced the isJackrabbitImpl flag with an instanceof check on JackrabbitQueryResult. That
should prevent the possible cast exception, or did I miss something?
> Add JackrabbitQueryResult.getTotalSize()
> ----------------------------------------
>                 Key: JCR-3474
>                 URL: https://issues.apache.org/jira/browse/JCR-3474
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-api, jackrabbit-core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.5.3
> In JCR-1073 we added the QueryResultImpl.getTotalSize() method for getting the total
number of matching results, regardless of possible limit or offset settings. It would be nice
if this method was available through a JackrabbitQueryResult extension interface instead of
just by casting a QueryResult instance to the QueryResultImpl implementation class.

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

View raw message