jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: batch read depth
Date Wed, 06 Jul 2011 07:38:48 GMT
On Tue, Jul 5, 2011 at 1:03 AM, ChadDavis <chadmichaeldavis@gmail.com> wrote:
> I'm tuning the performance of my spi/davex remoting, and I'm a bit
> unclear about the batch read depth.  What are the units of depth?  Is
> it an "item"?  In other words, if I get a node X, do I need a batch
> depth of 1 to also retrieve the properties of node X.  Or would a
> depth of 1 read all of X's child nodes?

0: returns specified node incl. properties and child node names (empty objects)
1: returns specified node incl. properties and child nodes (props and
grand child names)
n: and so forth...
-1: returns entire subtree

> Also, does the depth always start from the node being returned by
> node.getNode()?


> Or is it relative to the root node of the repo?

you'll find more information here:


View raw message