jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Aggregate functions in Xpath
Date Tue, 01 Mar 2011 13:41:06 GMT
On 01.03.11 13:38, "anilkkc" <anilkkcc@gmail.com> wrote:
>   How to Perform the Aggregate Functions(like SUM, COUNT, GROUP BY) using
>the xpath.

They are not supported in JCR Xpath. You can get the count using
Node/RowIterator.getSize() from the result, see

BTW, please only ask once, and only on the users@ list (here) for
usage-related questions. Thanks!


Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel

View raw message