Uses of Class
com.google.appengine.api.datastore.Entity
-
Packages that use Entity Package Description com.google.appengine.api.blobstore Provides management and persistent storage of large, immutable byte arrays.com.google.appengine.api.datastore -
-
Uses of Entity in com.google.appengine.api.blobstore
Methods in com.google.appengine.api.blobstore with parameters of type Entity Modifier and Type Method Description BlobInfo
BlobInfoFactory. createBlobInfo(Entity entity)
-
Uses of Entity in com.google.appengine.api.datastore
Methods in com.google.appengine.api.datastore that return Entity Modifier and Type Method Description Entity
PreparedQuery. asSingleEntity()
Retrieves the one and only result for theQuery
.Entity
AdminDatastoreService.EntityBuilder. build()
Entity
Entity. clone()
Returns a shallow copy of thisEntity
instance.static Entity
EntityTranslator. createFromPb(com.google.storage.onestore.v3.OnestoreEntity.EntityProto proto)
static Entity
EntityTranslator. createFromPb(com.google.storage.onestore.v3.OnestoreEntity.EntityProto proto, Collection<Projection> projections)
static Entity
EntityTranslator. createFromPbBytes(byte[] pbBytes)
Entity
DatastoreService. get(Key key)
Retrieves theEntity
with the specifiedKey
.Entity
DatastoreService. get(Transaction txn, Key key)
Exhibits the same behavior asDatastoreService.get(Key)
, but executes within the provided transaction.static Entity
DataTypeTranslator. toEntityFromSerializedV1Proto(byte[] serializedV1Entity)
Deserializes a Cloud Datastore V1Entity
protobuf and converts it to an App Engine DatastoreEntity
.Methods in com.google.appengine.api.datastore with parameters of type Entity Modifier and Type Method Description static com.google.storage.onestore.v3.OnestoreEntity.EntityProto
EntityTranslator. convertToPb(Entity entity)
static long
Entities. getVersionProperty(Entity entity)
Get the value of the __version__ property fromentity
.Future<Key>
AdminDatastoreService. put(@Nullable Transaction txn, Entity entity)
Future<Key>
AdminDatastoreService. put(Entity entity)
Future<Key>
AsyncDatastoreService. put(@Nullable Transaction txn, Entity entity)
Future<Key>
AsyncDatastoreService. put(Entity entity)
Key
DatastoreService. put(Entity entity)
If the specifiedEntity
does not yet exist in the data store, create it and assign itsKey
.Key
DatastoreService. put(Transaction txn, Entity entity)
Exhibits the same behavior asDatastoreService.put(Entity)
, but executes within the provided transaction.void
Entity. setPropertiesFrom(Entity src)
void
PreGetContext. setResultForCurrentElement(Entity entity)
Set theEntity
that will be associated with theKey
returned byCallbackContext.getCurrentElement()
in the result of the get() operation.static byte[]
DataTypeTranslator. toSerializedV1Proto(Entity entity)
Converts an App Engine DatastoreEntity
to a Cloud DatastoreEntity
V1 protobuf and serializes it.Method parameters in com.google.appengine.api.datastore with type arguments of type Entity Modifier and Type Method Description Future<List<Key>>
AdminDatastoreService. put(@Nullable Transaction txn, Iterable<Entity> entities)
Future<List<Key>>
AdminDatastoreService. put(Iterable<Entity> entities)
Future<List<Key>>
AsyncDatastoreService. put(@Nullable Transaction txn, Iterable<Entity> entities)
Future<List<Key>>
AsyncDatastoreService. put(Iterable<Entity> entities)
List<Key>
DatastoreService. put(Transaction txn, Iterable<Entity> entities)
Exhibits the same behavior asDatastoreService.put(Iterable)
, but executes within the provided transaction.List<Key>
DatastoreService. put(Iterable<Entity> entities)
Performs a batchput
of allentities
.
-