jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: The infamous getSize() == -1 (Was: [jira] [Created] (OAK-300) Query: QueryResult.getRows().getSize())
Date Wed, 12 Sep 2012 18:48:00 GMT

On Wed, Sep 12, 2012 at 10:37 AM, Thomas Mueller <mueller@adobe.com> wrote:
> Yes, that would work as well. I have added that to OAK-300. The
> disadvantage is that it's a new API (not part of the JCR specification).
> The two options I proposed don't require a new API.

There's no need for the Oak API to reflect JCR in all its details. If
there's a better way to design something, we should do so as long as
it's still possible for oak-jcr to implement the relevant parts of JCR
based on the underlying Oak API.


Jukka Zitting

View raw message