Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-205 Revisit remote usage of repository
  3. REPO-207

Over RMI it is not possible to use the HippoNodeIterator#getTotalSize()

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Low
    • Resolution: Outdated
    • None
    • Backlog
    • None
    • None

    Description

      In rmi mode, we get from

      javax.jcr.query.QueryResult#getNodes() the following object:

      org.apache.jackrabbit.rmi.client.iterator.ClientNodeIterator

      Thus, over rmi, I cannot use the following code for example.

      NodeIterator iterator = queryResult.getNodes();
      if(iterator instanceof HippoNodeIterator)

      { int total = (int)((HippoNodeIterator)iterator).getTotalSize(); }

      Attachments

        Issue Links

          Activity

            People

              uhommes Unico Hommes (Inactive)
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: