Hi,

>How do I know it's for sure more than 20

Because the PrefetchIterator will try to prefetch 20 nodes.

>or whatever my page size happens to be?

If you have a higher page size then you need getSize(max).

>>Please note if you use offset and limit, getSize() will return the size
>>of
>> the result minus the offset (it will give you the number of rows you can
>> read from the result).
>
>Really? Is that according to the JCR spec?

Is it not?

Regards,
Thomas

Reply via email to