jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Nebolsin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1740) Make ObjectIterator implement RangeIterator interface
Date Fri, 19 Sep 2008 13:26:44 GMT

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

Sergey Nebolsin commented on JCR-1740:
--------------------------------------

Of course, there's a third solution: refuse the idea of implementing RangeIterator, but if
there are 10 000 objects in the repository and we want to retrieve objects 9980-10000, performance
impact will be really huge.

> Make ObjectIterator implement RangeIterator interface
> -----------------------------------------------------
>
>                 Key: JCR-1740
>                 URL: https://issues.apache.org/jira/browse/JCR-1740
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-ocm
>    Affects Versions: 1.4
>         Environment: All environments
>            Reporter: Sergey Nebolsin
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: JCR-1740.patch
>
>
> Currently, it's not possible to skip a part of results returned in the form of ObjectIterator
(for example, to implement db-like pagination feature with offset/max parameters).
> It would be great if ObjectIterator implement RangeIterator interface, and it's trivial
enough since underlying NodeIterator implements this interface.

-- 
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