seems possible from Jena,
right?
Thanks,
Z
From: aj...@virginia.edu
Sent: Wednesday, September 16, 2015 12:08 PM
To: users@jena.apache.org
Subject: Re: paging the query results
For the record,
https://stackoverflow.com/questions/28210775/split-list-into-
something like:
>>>
>>>
>>> FluentIterable newIterator = FluentIterable.from(rs);
>>>
>>> newIterator.skip(startOffset);
>>>
>>> newIterator.limit(rowsCount);
>>>
>>>
>>> Unfortunately the first line doesn't work (the ResultSet type is not type
>>> of Iterable as expected by FluentIterable).
>>>
>>> Let me know the right way of paging the query results.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Z
>>
>
wIterator = FluentIterable.from(rs);
newIterator.skip(startOffset);
newIterator.limit(rowsCount);
Unfortunately the first line doesn't work (the ResultSet type is not type of
Iterable as expected by FluentIterable).
Let me know the right way of paging the query results.
Thanks,
Z
irst line doesn't work (the ResultSet type is not type of
> Iterable as expected by FluentIterable).
>
> Let me know the right way of paging the query results.
>
>
>
> Thanks,
>
> Z
: Wednesday, September 16, 2015 11:19 AM
To: users@jena.apache.org
Subject: paging the query results
Any idea on how to do the paging on the results set?
For example in this code:
ResultSet rs = qe.execSelect();
I was thinking to use com.google.common.collect.FluentIterable, so let say I
have the
like:
FluentIterable newIterator = FluentIterable.from(rs);
newIterator.skip(startOffset);
newIterator.limit(rowsCount);
Unfortunately the first line doesn't work (the ResultSet type is not type of
Iterable as expected by FluentIterable).
Let me know the right way of paging the query re