Hi pman, > > but, i found new problem now with -- > > (1) return {parents} based on a {child} property and a {parent} > property? > You can use in-memory filter.
Query for children: ... Gathering parent keys: ... Batch get for parents: List<Parent> parents = Datastore.get(Parent.class, keys); In-memory filters for parents: ParentMeta p = ParentMeta.get(); parents = Datastore.filterInMemory(parents, p.name.equal("SCOTT"), p.salary.greaterThan(1000), ...); > (2) sort the {parents}? > You can use in-memory sort. parents = Datastore.sortInMemory(parents, p.salary.desc, p.name.asc, ...); > (3) paging the result? > java.util.List#subList(int fromIndex, int toIndex) may help you. http://java.sun.com/javase/6/docs/api/java/util/List.html#subList%28int,%20int%29 Hope this helps, Yasuo Higa -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.