| Package | Description |
|---|---|
| org.springframework.cloud.gcp.data.datastore.core |
Core support for Cloud Datastore in Spring Data.
|
| org.springframework.cloud.gcp.data.datastore.core.convert |
Classes related to conversion and mapping of Cloud Datastore entities to Java entities.
|
| org.springframework.cloud.gcp.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(com.google.cloud.datastore.StructuredQuery.Builder builder,
DatastoreQueryOptions queryOptions,
DatastorePersistentEntity<?> persistentEntity) |
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.datastore.Key |
ObjectToKeyFactory.allocateKeyForObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity,
com.google.cloud.datastore.Key... ancestors)
Allocates a new ID
Key for the given entity object and sets the allocated ID value in the
object. |
com.google.cloud.datastore.Key |
DatastoreServiceObjectToKeyFactory.allocateKeyForObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity,
com.google.cloud.datastore.Key... ancestors) |
com.google.cloud.datastore.Key |
ObjectToKeyFactory.getKeyFromObject(Object entity,
DatastorePersistentEntity datastorePersistentEntity)
Get a
Key from an entity. |
com.google.cloud.datastore.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) |
| 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 © 2019 Pivotal Software, Inc.. All rights reserved.