You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Anil <an...@gmail.com> on 2017/02/03 10:40:47 UTC

Total Count with Paginated results

Hi,

is there any way to get total count along with paginated results in ignite ?

I see no way in H2 db. thanks.

Thanks.

Re: Total Count with Paginated results

Posted by Anil <an...@gmail.com>.
Hi Sergi,

i was doing same :)

thanks

On 3 February 2017 at 18:45, Sergi Vladykin <se...@gmail.com>
wrote:

> Hi,
>
> Run two queries: one for counts, another one for results. Or fetch the
> result and count the rows along the way.
>
> Sergi
>
> 2017-02-03 13:40 GMT+03:00 Anil <an...@gmail.com>:
>
>> Hi,
>>
>> is there any way to get total count along with paginated results in
>> ignite ?
>>
>> I see no way in H2 db. thanks.
>>
>> Thanks.
>>
>
>

Re: Total Count with Paginated results

Posted by Sergi Vladykin <se...@gmail.com>.
Hi,

Run two queries: one for counts, another one for results. Or fetch the
result and count the rows along the way.

Sergi

2017-02-03 13:40 GMT+03:00 Anil <an...@gmail.com>:

> Hi,
>
> is there any way to get total count along with paginated results in ignite
> ?
>
> I see no way in H2 db. thanks.
>
> Thanks.
>