jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <christ...@sulu3000.de>
Subject Re: Total size of a query result and setLimit()
Date Fri, 17 Aug 2007 16:40:17 GMT
Marcel Reutegger wrote:

> Hmm, after some thinking here's another proposal:
> 
> keep the setLimit() as is. but introduce a getSize() (or 
> getTotalMatches()?) on the QueryResult. This method always returns the 
> total number of nodes/rows independent of setLimit().

That was what I was trying to suggest in my original post ;) I would go for 
getTotalSize() as Thomas suggested.

Cheers,
Christoph


Mime
View raw message