Package | Description |
---|---|
com.google.cloud.spring.data.datastore.core |
Core support for Cloud Datastore in Spring Data.
|
com.google.cloud.spring.data.datastore.core.convert |
Classes related to conversion and mapping of Cloud Datastore entities to Java entities.
|
com.google.cloud.spring.data.datastore.core.mapping |
Classes related to type and Spring Data metadata of Java entities.
|
Modifier and Type | Method and Description |
---|---|
static void |
DatastoreTemplate.applyQueryOptions(StructuredQuery.Builder builder,
DatastoreQueryOptions queryOptions,
DatastorePersistentEntity<?> persistentEntity) |
Modifier and Type | Method and Description |
---|---|
<T> DatastorePersistentEntity<T> |
DefaultDatastoreEntityConverter.getDiscriminationPersistentEntity(Class<T> entityClass,
BaseEntity<?> entity) |
<T> DatastorePersistentEntity<T> |
DatastoreEntityConverter.getDiscriminationPersistentEntity(Class<T> entityClass,
BaseEntity<?> entity)
Provide a
DatastorePersistentEntity with support for discriminator fields. |
Modifier and Type | Method and Description |
---|---|
Key |
ObjectToKeyFactory.allocateKeyForObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity,
Key... ancestors)
Allocates a new ID
Key for the given entity object and sets the allocated ID value in
the object. |
Key |
DatastoreServiceObjectToKeyFactory.allocateKeyForObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity,
Key... ancestors) |
Key |
ObjectToKeyFactory.getKeyFromObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity)
Get a
Key from an entity. |
Key |
DatastoreServiceObjectToKeyFactory.getKeyFromObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity) |
Modifier and Type | Class and Description |
---|---|
class |
DatastorePersistentEntityImpl<T>
Metadata class for entities stored in Datastore.
|
Modifier and Type | Method and Description |
---|---|
protected <T> DatastorePersistentEntity<?> |
DatastoreMappingContext.createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation) |
DatastorePersistentEntity<?> |
DatastoreMappingContext.getDatastorePersistentEntity(Class<?> entityClass)
A non-null version of the
MappingContext.getPersistentEntity(Class) . |
Modifier and Type | Method and Description |
---|---|
protected DatastorePersistentProperty |
DatastoreMappingContext.createPersistentProperty(org.springframework.data.mapping.model.Property property,
DatastorePersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
Constructor and Description |
---|
DatastorePersistentEntityInformation(DatastorePersistentEntity<T> entity)
Creates a new
DatastorePersistentEntityInformation for the given DatastorePersistentEntity . |
Copyright © 2022. All rights reserved.