Uses of Class
com.google.appengine.api.datastore.Entity
Packages that use Entity
Package
Description
Provides management and persistent storage of large, immutable byte arrays.
-
Uses of Entity in com.google.appengine.api.blobstore
Methods in com.google.appengine.api.blobstore with parameters of type Entity -
Uses of Entity in com.google.appengine.api.datastore
Methods in com.google.appengine.api.datastore that return EntityModifier and TypeMethodDescriptionPreparedQuery.asSingleEntity()
Retrieves the one and only result for theQuery
.AdminDatastoreService.EntityBuilder.build()
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) Retrieves theEntity
with the specifiedKey
.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 that return types with arguments of type EntityModifier and TypeMethodDescriptionPreparedQuery.asIterable()
Equivalent toPreparedQuery.asIterable(FetchOptions)
but uses defaultFetchOptions
.PreparedQuery.asIterable
(FetchOptions fetchOptions) PreparedQuery.asIterator()
Equivalent toPreparedQuery.asIterator(FetchOptions)
but uses defaultFetchOptions
.PreparedQuery.asIterator
(FetchOptions fetchOptions) PreparedQuery.asList
(FetchOptions fetchOptions) PreparedQuery.asQueryResultIterable()
Similar toPreparedQuery.asIterable()
except aQueryResultIterable
is returned.PreparedQuery.asQueryResultIterable
(FetchOptions fetchOptions) Similar toPreparedQuery.asIterable(FetchOptions)
except aQueryResultIterable
is returned.PreparedQuery.asQueryResultIterator()
Similar toPreparedQuery.asIterator()
except aQueryResultIterator
is returned.PreparedQuery.asQueryResultIterator
(FetchOptions fetchOptions) Similar toPreparedQuery.asIterator(FetchOptions)
except aQueryResultIterator
is returned.PreparedQuery.asQueryResultList
(FetchOptions fetchOptions) Similar toPreparedQuery.asList(com.google.appengine.api.datastore.FetchOptions)
except aQueryResultIterator
is returned.AdminDatastoreService.get
(@Nullable Transaction txn, Key key) AdminDatastoreService.get
(@Nullable Transaction txn, Iterable<Key> keys) AsyncDatastoreService.get
(@Nullable Transaction txn, Key key) AsyncDatastoreService.get
(@Nullable Transaction txn, Iterable<Key> keys) DatastoreService.get
(Transaction txn, Iterable<Key> keys) Exhibits the same behavior asDatastoreService.get(Iterable)
, but executes within the provided transaction.Retrieves the set ofEntities
matchingkeys
.Methods in com.google.appengine.api.datastore with parameters of type EntityModifier and TypeMethodDescriptionstatic 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
.AdminDatastoreService.put
(@Nullable Transaction txn, Entity entity) AsyncDatastoreService.put
(@Nullable Transaction txn, Entity entity) If the specifiedEntity
does not yet exist in the data store, create it and assign itsKey
.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 EntityModifier and TypeMethodDescriptionAdminDatastoreService.put
(@Nullable Transaction txn, Iterable<Entity> entities) AsyncDatastoreService.put
(@Nullable Transaction txn, Iterable<Entity> entities) DatastoreService.put
(Transaction txn, Iterable<Entity> entities) Exhibits the same behavior asDatastoreService.put(Iterable)
, but executes within the provided transaction.Performs a batchput
of allentities
.