jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Semantics of MicroKernel.getNodes()
Date Wed, 14 Mar 2012 15:01:08 GMT

>Another problem is the String-fits-all return type; it would make it
>impossible to implement streaming of the result to the client; which
>will make the behavior for large collections non-optimal (the caller
>needs to wait for the complete JSON string to be ready before it can
>start forwarding information up the stack).

To avoid Strings, I wrote the interface
org.apache.jackrabbit.mk.wrapper.Wrapper (extends MicroKernel) and the
abstract class WrapperBase, where Strings are replaced with a JsopReader.


View raw message