chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram JB <ram...@gmail.com>
Subject Re: Query Alfresco for next set of results
Date Mon, 18 Jul 2016 09:52:54 GMT
Hi Florian,

I tried it by trying to get 1000 results. I ended up getting the same 1000
results every time. There will be nearly 1000000 results. I don't want them
at a time. But I should be able to iterate through them.

Thanks and Regards,
Bhargav.

On Jul 8, 2016 15:28, "Florian Müller" <fmui@apache.org> wrote:

> Hi,
>
> queryStatement.query(false) gives you an iterator over all query results.
> Therefore, there is no next set of results.
> (Internally, it fetches the results in chunks but this is hidden from you
> and you don't have to care about it.)
>
> You can control paging yourself if you want. See this page:
> https://chemistry.apache.org/docs/cmis-samples/samples/lists/index.html
>
>
> - Florian
>
>
>
> Hi Team,
>>
>> I am able to query Alfresco using OpenCmis using
>> queryStatement.query(false).
>> I want to know how to get the *next set* of results.
>>
>> Thanks and Regards,
>> Bhargav Ram.
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message