jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Query performance for large query results
Date Mon, 27 Nov 2006 13:53:40 GMT
Thomas Mueller wrote:
> If setLimit is going to be implemented, then setOffset(long offset)
> might as well be implemented at the same time (even if the first
> implementation will not be optimized). Just from an API standpoint.

I think the same can be achieved with existing API calls, even though the 
jackrabbit implementation does not make use of it:

QueryResult rs = ...;
NodeIterator nodes = rs.getNodes();
nodes.skip(offset);
// display results...

regards
  marcel

Mime
View raw message