- newKeyFactory
Returns a new KeyFactory for this serviceExample of creating a KeyFactory.
KeyFactory keyFactory =
- get
Returns an Entity for each given Key that exists in the Datastore. The order of
the result is unspec
- run
Submits a Query and returns its result. ReadOptions can be specified if desired.
Example of running
- allocateId
Returns a list of keys using the allocated ids ordered by the input.Example of
allocating multiple i
- delete
Example of deleting multiple entities.
String keyName1 = "my_key_name1";
- newTransaction
Returns a new Datastore transaction.
- put
Example of putting multiple entities.
String keyName1 = "my_key_name1";
- runInTransaction
Invokes the callback's Datastore.TransactionCallable#run method with a
DatastoreReaderWriter that is
- update
Example of updating multiple entities.
String keyName1 = "my_key_name_1";
- add
If none of entities' keys exist, all entities are inserted. If any of entities'
keys already exists
- fetch
Returns a list with a value for each given key (ordered by input). null values
are returned for none
- getOptions