You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2007/12/17 15:17:43 UTC
[jira] Commented: (JCR-1239) SPI: Provide possibility to retrieve
the number of child-nodes without retrieving them.
[ https://issues.apache.org/jira/browse/JCR-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552417 ]
angela commented on JCR-1239:
-----------------------------
it seems that we won't reach consensus for this.
i'll therefore remove the target-milestone.
> SPI: Provide possibility to retrieve the number of child-nodes without retrieving them.
> ---------------------------------------------------------------------------------------
>
> Key: JCR-1239
> URL: https://issues.apache.org/jira/browse/JCR-1239
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-spi
> Reporter: angela
>
> separate issue started by julian within issue #1166:
> RepositoryService.getChildInfos is defined to return an Iterator.
> this forces the caller to loop over all entries in order to detect the number of child-nodes.
> currently the hierarchy is populated any way, but that could be a source for future optimization.
> possible solutions:
> - change return value to RangeIterator
> - change return value to Collection (or Set).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.