public interface DatastoreWriter
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
add(FullEntity<?>... entity)
Datastore add operation.
|
Entity |
add(FullEntity<?> entity)
Datastore add operation.
|
void |
delete(Key... key)
A datastore delete operation.
|
void |
put(Entity... entity)
A Datastore put (a.k.a upsert) operation.
|
void |
update(Entity... entity)
A Datastore update operation.
|
Entity add(FullEntity<?> entity)
entity - the entity to addEntity with the same properties and a key that is either newly allocated
or the same one if key is already completeDatastoreException - upon failureIllegalArgumentException - if the given entity is missing a keyList<Entity> add(FullEntity<?>... entity)
Entity ordered by input with the same properties and a key that
is either newly allocated or the same one if was already completeDatastoreException - upon failureIllegalArgumentException - if any of the given entities is missing a keyadd(FullEntity)void update(Entity... entity)
void put(Entity... entity)
void delete(Key... key)
Copyright © 2016 Google. All rights reserved.