Client Library for trevorism datastore.
Current Version
Supports classes with primitive types, Dates, Lists and Maps. Classes should have a String or long 'id' property
The pinging implementation will ping the datastore API on instantiation. The datastore API gets torn down, so a ping 'wakes' it up
Repository<MyClass> repo = new PingingDatastoreRepository<>(MyClass.class);
MyClass created = repo.create(myClass);
MyClass retrieved = repo.get("id");
MyClass updated = repo.update("id", myClass);
MyClass deleted = repo.delete("id");
If the datastore is awoken, just call it with the fast implementation.
Repository<MyClass> repo = new FastDatastoreRepository<>(MyClass.class);
repo.ping();
for(MyClass myClass : list){
repo.create(myClass);
}