Package com.googlecode.objectify.impl
Class WriteEngine
- java.lang.Object
-
- com.googlecode.objectify.impl.WriteEngine
-
public class WriteEngine extends Object
This is the master logic for saving and deleting entities from the datastore. It provides the fundamental operations that enable the rest of the API. One of these engines is created for every operation; upon completion, it is thrown away.- Author:
- Jeff Schnitzer
-
-
Constructor Summary
Constructors Constructor Description WriteEngine(ObjectifyImpl<?> ofy, com.google.appengine.api.datastore.AsyncDatastoreService ads, Session session, Deferrer deferrer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result<Void>
delete(Iterable<com.google.appengine.api.datastore.Key> keys)
The fundamental delete() operation.<E> Result<Map<Key<E>,E>>
save(Iterable<? extends E> entities)
The fundamental put() operation.
-
-
-
Field Detail
-
ofy
protected final ObjectifyImpl<?> ofy
-
ads
protected final com.google.appengine.api.datastore.AsyncDatastoreService ads
-
session
protected final Session session
-
deferrer
protected final Deferrer deferrer
-
-
Constructor Detail
-
WriteEngine
public WriteEngine(ObjectifyImpl<?> ofy, com.google.appengine.api.datastore.AsyncDatastoreService ads, Session session, Deferrer deferrer)
-
-