Re: [qi4j-dev] Missing method in Query interface...

2008-05-05 Thread Rickard Öberg
Niclas Hedhman wrote: On Tue, Apr 29, 2008 at 9:03 PM, Rickard Öberg [EMAIL PROTECTED] wrote: The problem with size() is that it would have to execute the Query, Well, then that would trigger a follow up question; When is the Query executed, and should there be a way to re-execute? I

Re: [qi4j-dev] Missing method in Query interface...

2008-05-05 Thread Rickard Öberg
Michael Sick wrote: Niclas Hedhman wrote: On Tue, Apr 29, 2008 at 9:03 PM, Rickard Öberg [EMAIL PROTECTED] wrote: I mean size(), find() and iterator() could all trigger the query, but there is one small difference... size() need to return the number of objects that a non-bounded (with

Re: [qi4j-dev] Missing method in Query interface...

2008-05-05 Thread Niclas Hedhman
On Mon, May 5, 2008 at 11:48 PM, Rickard Öberg [EMAIL PROTECTED] wrote: Michael Sick wrote: With the disclaimer that I'm a total outsider, non-contributor, I think that count() would be more clear in intentions than size(). In both its noun and verb form it makes sense. That makes

Re: [qi4j-dev] Missing method in Query interface...

2008-04-29 Thread Nino Saturnino Martinez Vazquez Wael
Lovely:) So just need size:) Niclas Hedhman wrote: On Tue, Apr 29, 2008 at 8:12 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes, it's used quite a lot. Having a minimum of knowlegde of the query api. Below are a sniplet of how a sortable dataprovider could be