Ok, it is far from complete, but I have implemented the put(Entity)
and the get(Key) methods around which the whole library will be based.
The source of those two methods shows how it is possible to store
large entities without having to worry about their sizes. If you can
upload it, you should be able to do something like:
Entity e = new Entity("myEntity", "myKey");
e.setProperty("myProperty", <200MB Blob>);
mindashDatastore.put(e);
Design considerations:
1. exact implementation of the DatastoreService Interface so that
coding practices can remain the same. (only added
EntityCorruptException)
2. Text type is not supported due to predictability issues (use Blob
instead)
I acknowledge that some of my sizing assumptions may be inappropriate,
those were my best guesses at the time.
The project can be found at: http://code.google.com/p/mindash-datastore/
I look forward to your feedback as the library becomes functional.
-Tristan
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---