I need to implement paging and I need to get

1. a page (size specified by user)
2. total number of rows.

Please let me know if the performance of what I am suggesting

1. For total number of rows, I am planning to do a select keys from
<Kind>. This would be better than getting all columns.

2. For getting a page, I am doing a range query. (offset passed in by
user)

This means I am going to the datastore twice which I don't like. How
can I make this better? Any opinions ?

Thanks in advance

mic

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to