Hi, I have not yet found the appropriate solution to this problem.
The idea of iterating and caching the cursor values at every start of the page is one solution that I had also tried. It works, but I guess it is not the optimum way to do it. There should be a better way which has no performance issues. On Nov 12, 1:54 pm, dflorey <[email protected]> wrote: > I am solving this problem by iterating through the result list > asynchronously and caching the cursors pointing to each start of the > page. > Check out how it look here: > > http://ucm.floreyosft.net > > On Nov 12, 9:43 am, msmart <[email protected]> wrote: > > > Just out of curiousity. Did you solve your problem. If yes, how? > > > Greetings! > > Michael Martinides > > > On 27 Sep., 07:25, Tarun <[email protected]> wrote: > > > > Hi, > > > > I have been trying to performPaginationon the App Engine using Java, > > > for a large data set of information. I read about it on many previous > > > posts including the official documentation of Google App Engine : > > > >http://code.google.com/appengine/docs/java/datastore/queriesandindexe... > > > > Considering the constraints of fetching data from the datastore, > > > nearly all the posts suggested the use of Cursors (a feature that was > > > added in version 1.3.3.1 of the App Engine SDK ). > > > > Most of the code examples that I came across were performingpaginationby > > > displaying the pages sequentially, but my requirement is > > > to even allow displaying the result for any page, i.e a random access > > > is required. In simple words, I wish to attain apaginationwhich is > > > similar to Google's way of displaying search results. > > > > After going through the Java Docs of the SDK, I got to know that > > > Cursors can only store the index value for the next set of entries. > > > > Is there any other way to satisfy my requirement? -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
