Questions tagged [objectify]

Objectify is a 3rd party Java data access API specifically designed for Google Cloud Datastore in the App Engine Standard runtime. It occupies a "middle ground"; easier to use and more transparent than JDO or JPA, but significantly more convenient than the Low-Level API provided for Cloud Datastore.

Objectify is a 3rd party Java data access API specifically designed for Google Cloud Datastore in the App Engine Standard runtime. It occupies a "middle ground"; easier to use and more transparent than JDO or JPA, but significantly more convenient than the Low-Level API provided for Cloud Datastore.

It also integrates with the App Engine memcache and taskqueue APIs to simplify common patterns of working with Cloud Datastore.

The Cloud Datastore low-level Java API for App Engine Standard is simple and elegant, neatly reducing your data operations to four simple methods: get, put, delete, and query. However, it is not designed to be used by the average developer:

  • DatastoreService persists GAE-specific Entity objects rather than normal POJO classes.
  • DatastoreService Keys are untyped and error-prone.
  • DatastoreService has a machine-friendly but not human-friendly query interface.
  • DatastoreService has an unnecessarily complicated transaction API.

Objectify provides a convenient layer which addresses these issues, yet preserves the elegance of get, put, delete, and query.

1145 questions
-2
votes
5 answers

My AppEngine Application is too slow, how to speedup the application?

I am developing an AppEngine application with GWT framework using Java. Objectify as back-end(storage purpose). Application has around 30 modules. Whenever I open any page in my web application, it is too slow to display. I want my application…
satyarao
  • 85
  • 3
-2
votes
1 answer

filter properties with Objectify 4

I'm trying to filter with Objectify in GAE: List ul = ofy.load().type(Usuario.class).filter("name", "gildus").list(); In the User's class use anotation @Index: @Entity public class Users { @Id private Long id; @Index private String…
Gildus
  • 13
  • 6
-2
votes
1 answer

Build Query object from query string - Objectify

Is it possible to build a Query object with Objectify with a query string? I mean, I know Objectify builds queries like: Query q = ofy().load().type(Foo.class); q = q.filter("bar", b); However, is there a way or any plans for Objectify to…
quarks
  • 33,478
  • 73
  • 290
  • 513
-3
votes
1 answer

objectify filter with ancestor not working

Objectify filter with ancestor is not working, check below code: List list = ofy().load() .type(AccountGroupEntity.class) .ancestor(Key.create(BusinessEntity.class,…
-4
votes
1 answer

Does a Google Datastore query plus transaction run slower than just a query?

Are Google Datastore queries slower when put into a transaction? Assuming the query is exactly the same, would the run time of a transaction + query be slower than the query not in a transaction? Does the setup of the transaction add any execution…
1 2 3
76
77