Jeff,

Thanks for the quick reply.

I found it, I had downloaded the new SDK, but had not enabled it in
the build path.

Thanks again.
Nick

On Jun 16, 4:12 pm, "Jeff S (Google)" <j...@google.com> wrote:
> Hi Nick,
>
> The Javadocs need to  be updated, but the method is available in SDK 1.2.1
> and later. Eclipse's tool tip reports:
>
> public Query setKeysOnly()
>   Makes this query fetch and return only keys, not full entities.
>   Returns:
>     this (for chaining)
>
> Happy coding,
>
> Jeff
>
> On Tue, Jun 16, 2009 at 3:56 PM, Nick <ncdept...@gmail.com> wrote:
>
> > Hi Jeff,
>
> > I wasn't using the low level API, but now that I'm looking, I can't
> > seem find the option you are talking about:
>
> >http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
>
> > I'm probably missing something here, but could you point me to the
> > documentation or supply a code sample by any chance?
>
> > Thanks,
> > Nick
>
> > On Jun 16, 1:17 pm, "Jeff S (Google)" <j...@google.com> wrote:
> > > Hi Nick,
>
> > > The Java API does have a setKeysOnly() method on the low level Query
> > class
> > > which will allow you to fetch just the keys. Are you using the lower
> > level
> > > API? In a future release the JDO/JPA layer will make use of this
> > > method for queries
> > > that only request the key property.
>
> > > Happy coding,
>
> > > Jeff
>
> > > On Sun, Jun 14, 2009 at 12:30 PM, Nick <ncdept...@gmail.com> wrote:
>
> > > > Hi Guys,
>
> > > > I realize that key only queries are now supported with the Python SDK,
> > > > but I can't seem to find this support for Java.  Can this be done with
> > > > the Java API and if so, can you point me toward the documentation for
> > > > this?
>
> > > > If not, will this be supported for Java soon?  This is a nice feature
> > > > and could significantly improve performance in my application.
>
> > > > Thanks,
> > > > Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to