directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DIRSERVER-1294) Add size() and hasNext() methods to cursors
Date Sat, 30 Oct 2010 15:33:20 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926587#action_12926587
] 

Felix Knecht edited comment on DIRSERVER-1294 at 10/30/10 11:31 AM:
--------------------------------------------------------------------

How to handle lazy pre-fetching cursors (BaseEntryFilteringCursor)?
size() will not work using lazy pre-fetching -> UnsupportedOperationsException?
same for hasNext(), hasPrevious()


      was (Author: felixk):
    How to handle lazy pre-fetching cursors? size() will not work using lazy pre-fetching
-> UnsupportedOperationsException?

  
> Add size() and hasNext() methods to cursors
> -------------------------------------------
>
>                 Key: DIRSERVER-1294
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1294
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>            Assignee: Felix Knecht
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> The cursor implementation currently does not have the size() and hasNext() methods. They
would be very helpful in ma,ny places.
> For instance, the paged search control requires that the response control contains the
expected size. The hasNext() method could help to avoid a next() and previous() calls to check
if we have one more entry available in the cursor.

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