My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1626: Add public constructors Entity(Key key) and Entity(String kind, long id) to the Java Low-Level Datastore API
7 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2011


Sign in to add a comment
 
Reported by dave...@gmail.com, May 29, 2009
This is a plea for the GAE team to add the following public
constructors to com.google.appengine.api.datastore.Entity:

public Entity(String kind, long id)
public Entity(Key key) 

This gives developers the ability to directly create Entity instances for
records that already exist in BigTable. 

Currently, the only way for developers to obtain such Entity instances is
to call DatastoreService.get(key), which can be a time-consuming and
unnecessary operation. Please refer to this discussion thread for more
details:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/a5d603ebf852b1ab

Jan 12, 2011
#1 gr...@google.com
(No comment was entered for this change.)
Status: Acknowledged
Labels: Component-Datastore
Mar 16, 2011
Project Member #2 d...@google.com
(No comment was entered for this change.)
Labels: log-4116132
May 10, 2011
Project Member #3 ma...@google.com
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting