On 22/09/15 15:25, Zen 98052 wrote:
For example, the query result set (with ORDER clause) is [ a, b, c, d, e, f, g,
h, i, j ]
When I put OFFSET 4 and LIMIT 3 in the query, I got back [ d, e ] as the result.
FWIW that is the result from OFFSET 2 and LIMIT 2
It should return 3 items instead of 2, where is the Jena code that I can debug
to find out the issue (likely bug in my code)?
Anything with the word "slice" in it.
QueryIterSlice
OpSlice
And ARQ does TopN optimization ORDER+OFFSET+LIMIT is executed
differently and more efficiently. (O(n) not O(n log n))
QueryIterTopN
OpTopN
Thanks,
Z