Criteria & projection queries

49 views
Skip to first unread message

Salomon Brys

unread,
Nov 29, 2012, 11:21:37 AM11/29/12
to objectify...@googlegroups.com
Hi Jeff,
any advancement on these topics ?
These are pretty hot / important topics that enables so much possibilities (especially Criteria queries).

A while ago, you asked the comunity ideas about how to implement those. Have you started it ? Or even considering it ?

Thanks
Salomon BRYS


Avatar Salomon BrysSalomon BRYS | Architecte Logiciel | Chief Geek Officer
Kick Your App
80 Rue des Haies - 75020 - Paris, France
+33 9 72 37 17 24 | +33 6 83 54 55 96 
sal...@kickyourapp.com
LinkedinLogo Kick Your App

Jeff Schnitzer

unread,
Nov 29, 2012, 12:54:00 PM11/29/12
to objectify...@googlegroups.com
I'm working on the GWT stuff for Ref right now and was planning on cutting the 4.0 release immediately once that works.  I think Objectify4 is currently good enough for a ".0 release" so let's get it pushed even if it's missing some features.  The next three priorities are:

 * Criteria queries
 * Projection queries
 * EmbeddedEntity

Of these, Projection is the easiest - the only catch is that projection queries must never be cached (session or otherwise), so it's really just a question of making some things non-session-cacheable.

Criteria requires API design, but the implementation is easy.  We talked a little about it on this list but never arrived at a conclusion.  I would love it if someone made a first pass at what the API should look like - just some example code.  I haven't needed this yet so I haven't spent much time thinking about it - help from someone who uses it would definitely be appreciated!

EmbeddedEntity is the most complicated, but also scratches my personal itches the hardest.  Not sure when I will tackle it, but hopefully soon.  It would clean up a lot of Voost code.

Jeff
Reply all
Reply to author
Forward
0 new messages