thanks Andy, it worked.
-Soheila
On Monday, December 14, 2015 12:55 PM, Andy Seaborne <[email protected]>
wrote:
On 14/12/15 12:08, Soheila Dehghanzadeh wrote:
> Hi All,
>
> I'm trying to manipulate my sparql query by adding a LIMIT or changing the
> existing LIMIT value before i submit it to a remote sparql endpoint.JENA-228
> proposed a similar idea and Andy suggested a solution "to wrap a (limit)
> algebra operator around the execution". i'm not sure how it can be done given
> that there is no OPlimit operator whatsoever. does any body have any idea of
> how to implement it?
> Thanks.-Soheila
>
See OpSlice
A "slice" is the combination of limit and offset. No limit or no offset
is any negative number (Query uses Long.MIN_VALUE).
See AlgebraGenerator line 645 (the end of compileModifiers)
Andy