|
Project Information
Links
|
Implementation of the Google App Engine Datastore in Java 6 using (initially) hbase and hadoop as the bigtable and gfs implementations. In an interview with InfoQ the hbase project leads said: "...an implementation of the Google App Engine DataStore API that went against HBase and that parsed GQL, etc., is a contribution we wouldn't say no to." I've been looking at doing a project using hbase (it seems the closest to bigtable I can find). I've also done some work on google appengine and really like their datastore. I've looked at some of the ORM'ish things linked from the wiki but found none of them came close to datastore. With that said, I've started implementing the Google App Engine DataStore API in java. You can find the source here: http://code.google.com/p/datastore/source/browse/ I got a lot of information from this talk at goole i/o It is rough at this point. Current capabilities:
Future capabilities:
Differences: Python's dynamic nature means there will be differences with a java api. Here are some of them.
python: Person.all() java: Datastore.all(Person.class)
python: s = Story(title="The Three Little Pigs")
java: Store s = new Story(); s.setTitle("...")
python: Story.get_by_id(123, parent=parentStory)
java: Datastore.getById(parentStory, 123);
python: name = db.StringProperty(required=True) java: @StringProperty(required=true) String name; |