[ 
https://issues.apache.org/jira/browse/CMIS-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731922#action_12731922
 ] 

Florent Guillaume commented on CMIS-41:
---------------------------------------

We could also allow setting hints on the iterator to tell it what kind of range 
we expect to access.


> Use a skippable Iterator when it makes sense instead of a Collection
> --------------------------------------------------------------------
>
>                 Key: CMIS-41
>                 URL: https://issues.apache.org/jira/browse/CMIS-41
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: api
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>
> The goal of the Connection API is to simplify use, but when lots of results 
> are potentially returned (query, getChildren) it should be possible to 
> navigate efficiently in the returned list without fetching everything.
> To do that, some kind of skippable iterator could be used. An example of one 
> is 
> http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html

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