Yes: http://code.google.com/p/googleappengine/source/browse/trunk/java/src/main/com/google/appengine/api/datastore/Query.java#505 http://code.google.com/p/googleappengine/source/browse/trunk/java/src/main/com/google/appengine/api/datastore/Cursor.java#87
On Mon, Oct 22, 2012 at 11:37 AM, Matija <[email protected]> wrote: > Also in Java API? > > On Monday, October 22, 2012 8:33:00 PM UTC+2, Alfred Fuller wrote: > >> Backwards paging is currently supported, you can see this ndb example of >> how to do it: https://developers.google.**com/appengine/docs/python/ndb/* >> *queries#cursors<https://developers.google.com/appengine/docs/python/ndb/queries#cursors> >> >> >> On Wed, Oct 10, 2012 at 12:29 AM, Matija <[email protected]> wrote: >> >>> Hey, >>> is there any news about backwards cursor? Two years ago they were >>> 'presented' in next gen queries google io presentation. We did get some >>> features but not backwards cursors. >>> >>> Matija >>> >>> >>> On Tuesday, October 9, 2012 4:14:29 AM UTC+2, Takashi Matsuo (Google) >>> wrote: >>> >>>> >>>> Hi James, >>>> >>>> First of all, you are right. You should always use cursors whenever >>>> possible. >>>> >>>> We used to offer only 'offset' for going back and forth within query >>>> results before 1.3.1 release. >>>> http://googleappengine.**blogspo**t.jp/2010/02/app-**engine-sdk-** >>>> 131-including-**major.html<http://googleappengine.blogspot.jp/2010/02/app-engine-sdk-131-including-major.html> >>>> >>>> Thus there is a lot of code with the 'offset' still running in the >>>> production for a historical reason. It is hard for us to just kill this >>>> feature. >>>> However, as you guys noticed, please use cursors whenever you can. >>>> >>>> If you want us to improve our documentation, maybe you can file a bug >>>> on our issue tracker with more concret suggestions rather than ranting with >>>> the caps. >>>> >>>> Thanks, >>>> >>>> -- Takashi >>>> >>>> >>>> On Tue, Oct 9, 2012 at 8:09 AM, James Gilliam <[email protected]>wrote: >>>> >>>>> You hurl insults while asserting offset has some usefulness without >>>>> any support. So, give me an example of how it is anything but >>>>> mathematically pathological. >>>>> >>>>> On Monday, October 8, 2012 11:07:45 AM UTC-7, James Gilliam wrote: >>>>>> >>>>>> I discovered that GAE charges you for skipping entities in Datastore >>>>>> with OFFSET. So, if you want to retrieve 1 record at offset 10, you pay >>>>>> for reading 11. >>>>>> >>>>>> This makes OFFSET expensive and WORTHLESS ... >>>>>> >>>>>> Offset should never be mentioned in the documentation without a >>>>>> footnote that says you can't afford to use it. >>>>>> >>>>>> Kinda pissed about this. >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Google App Engine" group. >>>>> To view this discussion on the web visit https://groups.google.com/d/* >>>>> *ms**g/google-appengine/-/**Kd0I90rUV**LcJ<https://groups.google.com/d/msg/google-appengine/-/Kd0I90rUVLcJ> >>>>> . >>>>> >>>>> To post to this group, send email to google-a...@googlegroups.**com. >>>>> To unsubscribe from this group, send email to google-appengi...@** >>>>> googlegroups**.com. >>>>> >>>>> For more options, visit this group at http://groups.google.com/**group >>>>> **/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>>>> . >>>>> >>>> >>>> >>>> >>>> -- >>>> Takashi Matsuo | Developers Advocate | [email protected] >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/google-appengine/-/**Ww6zx2oKOxMJ<https://groups.google.com/d/msg/google-appengine/-/Ww6zx2oKOxMJ> >>> . >>> >>> To post to this group, send email to google-a...@googlegroups.**com. >>> To unsubscribe from this group, send email to google-appengi...@** >>> googlegroups.com. >>> For more options, visit this group at http://groups.google.com/** >>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>> . >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/JMm4_mlQZTQJ. > > 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. > -- 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.
