Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1239

SPI: Provide possibility to retrieve the number of child-nodes without retrieving them.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jackrabbit-spi
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: