I'm looking for a effective and scalable way of doing the following with the java low level API. I have a query with some sort orders and i would like to fetch the Nth entity. Using the offset argument doesn't seem like a good idea.
EDIT Background: I'm trying to write an abstraction layer for DS with a Memcache. The data stored in the datastore should be arbitrary. Examples of methods: getEntity(key) AddEntity(entity) getEntityByIndex(index, sort)
Any suggestions are appreciated.