Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractDatastoreQuery<T> - Class in com.google.cloud.spring.data.datastore.repository.query
-
Abstract class for implementing Cloud Datastore query methods.
- AbstractDatastoreQuery(DatastoreQueryMethod, DatastoreOperations, DatastoreMappingContext, Class<T>) - Constructor for class com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery
- add(T) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- addAll(Collection<? extends T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- addDiscriminationClassConnection(Class, Class) - Static method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
-
Registers in the DatastoreMappingContext that two classes are discriminated from the same Datastore Kind.
- AfterDeleteEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published just after Spring Data Cloud Datastore performs a delete operation.
- AfterDeleteEvent(Key[], Class, Iterable, Iterable) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.AfterDeleteEvent
-
Constructor.
- AfterFindByKeyEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published immediately after a read operation has finished.
- AfterFindByKeyEvent(Iterable, Set<Key>) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.AfterFindByKeyEvent
-
Constructor.
- AfterQueryEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published immediately after a read-by-query request.
- AfterQueryEvent(Iterable, Query) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.AfterQueryEvent
-
Constructor.
- AfterSaveEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published immediately after a save operation to Cloud Datastore.
- AfterSaveEvent(List<Entity>, List) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.AfterSaveEvent
-
Constructor.
- allocateKeyForObject(Object, DatastorePersistentEntity, Key...) - Method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreServiceObjectToKeyFactory
- allocateKeyForObject(Object, DatastorePersistentEntity, Key...) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ObjectToKeyFactory
-
Allocates a new ID
Key
for the given entity object and sets the allocated ID value in the object. - applyQueryOptions(StructuredQuery.Builder, DatastoreQueryOptions, DatastorePersistentEntity<?>) - Static method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- auditorAwareRef() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreAuditing
-
Configures a
AuditorAware
bean to be used to lookup the current principal.
B
- basePackageClasses() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Type-safe alternative to
EnableDatastoreRepositories.basePackages()
for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Base packages to scan for annotated components.
- BeforeDeleteEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published just before Spring Data Cloud Datastore performs a delete operation.
- BeforeDeleteEvent(Key[], Class, Iterable, Iterable) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.BeforeDeleteEvent
-
Constructor.
- BeforeSaveEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published immediately before a save event to Cloud Datastore.
- BeforeSaveEvent(List) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.BeforeSaveEvent
-
Constructor.
- bindValueToGqlBuilder(GqlQuery.Builder, String, Object) - Static method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
Bind a given tag and value to a GQL query builder.
- boxIfNeeded(Class) - Static method in class com.google.cloud.spring.data.datastore.core.util.ValueUtil
- build() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
- Builder() - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
C
- clear() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- com.google.cloud.spring.data.datastore - package com.google.cloud.spring.data.datastore
-
Cloud Datastore support for Spring Data.
- com.google.cloud.spring.data.datastore.aot - package com.google.cloud.spring.data.datastore.aot
- com.google.cloud.spring.data.datastore.core - package com.google.cloud.spring.data.datastore.core
-
Core support for Cloud Datastore in Spring Data.
- com.google.cloud.spring.data.datastore.core.convert - package 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 - package com.google.cloud.spring.data.datastore.core.mapping
-
Classes related to type and Spring Data metadata of Java entities.
- com.google.cloud.spring.data.datastore.core.mapping.event - package com.google.cloud.spring.data.datastore.core.mapping.event
- com.google.cloud.spring.data.datastore.core.util - package com.google.cloud.spring.data.datastore.core.util
-
Util classes for Spring Data Cloud Datastore.
- com.google.cloud.spring.data.datastore.repository - package com.google.cloud.spring.data.datastore.repository
-
Spring Data Cloud Datastore support for Spring Data Repositories.
- com.google.cloud.spring.data.datastore.repository.config - package com.google.cloud.spring.data.datastore.repository.config
-
Configuration classes for instantiating Repositories in Spring Data Cloud Datastore.
- com.google.cloud.spring.data.datastore.repository.query - package com.google.cloud.spring.data.datastore.repository.query
-
Classes supporting Spring Data Cloud Datastore custom-generated Query Methods.
- com.google.cloud.spring.data.datastore.repository.support - package com.google.cloud.spring.data.datastore.repository.support
-
Support classes for creating implementations for user-defined Spring Data Cloud Datastore repositories.
- considerNestedRepositories() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Configures whether nested repository-interfaces (e.g.
- constructPersistentEntity(TypeInformation<T>) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
- contains(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- containsAll(Collection<?>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- convertCollection(Object, Class<?>) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- convertCollectionParamToCompatibleArray(List<?>) - Method in class com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery
-
Convert collection-like param from the query method into an array of compatible types for Datastore.
- convertEntitiesForRead(Iterator<? extends BaseEntity>, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
-
Convert Datastore entities to objects of a specified type.
- convertOnRead(Object, EmbeddedType, TypeInformation) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Converts a given object to an object of a target type that is possibly an embedded entity.
- convertOnRead(Object, EmbeddedType, TypeInformation) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- convertOnRead(Object, Class, Class) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Converts a given object to an object of a target type.
- convertOnRead(Object, Class, Class) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- convertOnWrite(Object, DatastorePersistentProperty) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Converts an object to a Cloud Datastore
Value
; supports collections. - convertOnWrite(Object, DatastorePersistentProperty) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- convertOnWriteSingle(Object) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Converts an object to a Cloud Datastore
Value
, for non-collection objects. - convertOnWriteSingle(Object) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- count() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.query.Query
-
Returns whether the defined query should be executed as a count projection.
- count() - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- count(Class<?>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Count all occurrences of entities of the given domain type.
- count(Class<?>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- count(Example<S>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- createAssociation() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- createKey(Class, Object) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Create a
Key
from entity class and id value. - createKey(Class, Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- createKey(String, Object) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Create a
Key
from kind name and id. - createKey(String, Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- createPersistentEntity(TypeInformation<T>) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
- createPersistentProperty(Property, DatastorePersistentEntity<?>, SimpleTypeHolder) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
- createRepositoryFactory() - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactoryBean
D
- DATASTORE_NATIVE_TYPES - Static variable in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
The set of natively-supported Datastore types.
- DatastoreAuditingEventListener - Class in com.google.cloud.spring.data.datastore.repository.support
-
Auditing event listener that listens for
BeforeSaveEvent
. - DatastoreAuditingEventListener(AuditingHandler) - Constructor for class com.google.cloud.spring.data.datastore.repository.support.DatastoreAuditingEventListener
-
Constructor.
- DatastoreAuditingRegistrar - Class in com.google.cloud.spring.data.datastore.repository.config
-
Registers the annotations and classes for providing auditing support in Spring Data Cloud Datastore.
- DatastoreAuditingRegistrar() - Constructor for class com.google.cloud.spring.data.datastore.repository.config.DatastoreAuditingRegistrar
- DatastoreCoreRuntimeHints - Class in com.google.cloud.spring.data.datastore.aot
- DatastoreCoreRuntimeHints() - Constructor for class com.google.cloud.spring.data.datastore.aot.DatastoreCoreRuntimeHints
- DatastoreCustomConversions - Class in com.google.cloud.spring.data.datastore.core.convert
-
Value object to capture custom conversion.
- DatastoreCustomConversions() - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DatastoreCustomConversions
- DatastoreCustomConversions(List<?>) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DatastoreCustomConversions
- DatastoreDataException - Exception in com.google.cloud.spring.data.datastore.core.mapping
-
Exceptions that are created by Spring Data Cloud Datastore.
- DatastoreDataException(String) - Constructor for exception com.google.cloud.spring.data.datastore.core.mapping.DatastoreDataException
- DatastoreDataException(String, Throwable) - Constructor for exception com.google.cloud.spring.data.datastore.core.mapping.DatastoreDataException
- DatastoreEntityConverter - Interface in com.google.cloud.spring.data.datastore.core.convert
-
An interface for converting objects to Datastore Entities and vice versa.
- DatastoreMappingContext - Class in com.google.cloud.spring.data.datastore.core.mapping
-
A mapping context for Datastore that provides ways to create persistent entities and properties.
- DatastoreMappingContext() - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
- datastoreMappingContextRef() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Configures the name of the
DatastoreMappingContext
bean to be used by default with the repositories detected. - DatastoreNativeTypes - Class in com.google.cloud.spring.data.datastore.core.convert
-
A class to manage Datastore-specific simple type conversions.
- DatastoreNativeTypes() - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
- DatastoreOperations - Interface in com.google.cloud.spring.data.datastore.core
-
An interface of operations that can be done with Cloud Datastore.
- DatastorePageable - Class in com.google.cloud.spring.data.datastore.repository.query
-
A pageable implementation for Cloud Datastore that uses the cursor for efficient reads.
- DatastorePersistentEntity<T> - Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Persistent entity for Google Cloud Datastore.
- DatastorePersistentEntityImpl<T> - Class in com.google.cloud.spring.data.datastore.core.mapping
-
Metadata class for entities stored in Datastore.
- DatastorePersistentEntityImpl(TypeInformation<T>, DatastoreMappingContext) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
-
Constructor.
- DatastorePersistentEntityInformation<T,
I> - Class in com.google.cloud.spring.data.datastore.core.mapping -
Holds ID type information about a Datastore persistent entity.
- DatastorePersistentEntityInformation(DatastorePersistentEntity<T>) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityInformation
-
Creates a new
DatastorePersistentEntityInformation
for the givenDatastorePersistentEntity
. - DatastorePersistentProperty - Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Persistent property for Google Cloud Datastore.
- DatastorePersistentPropertyImpl - Class in com.google.cloud.spring.data.datastore.core.mapping
-
Persistent property metadata implementation for Datastore.
- DatastoreQueryLookupStrategy - Class in com.google.cloud.spring.data.datastore.repository.query
-
Query lookup strategy for Query Methods for Cloud Datastore.
- DatastoreQueryLookupStrategy(DatastoreMappingContext, DatastoreOperations, QueryMethodEvaluationContextProvider) - Constructor for class com.google.cloud.spring.data.datastore.repository.query.DatastoreQueryLookupStrategy
- DatastoreQueryMethod - Class in com.google.cloud.spring.data.datastore.repository.query
-
A metadata class for Query Methods for Spring Data Cloud Datastore.
- DatastoreQueryOptions - Class in com.google.cloud.spring.data.datastore.core
-
Encapsulates Cloud Datastore query options.
- DatastoreQueryOptions.Builder - Class in com.google.cloud.spring.data.datastore.core
- DatastoreQueryRuntimeHints - Class in com.google.cloud.spring.data.datastore.aot
- DatastoreQueryRuntimeHints() - Constructor for class com.google.cloud.spring.data.datastore.aot.DatastoreQueryRuntimeHints
- DatastoreRepositoriesRegistrar - Class in com.google.cloud.spring.data.datastore.repository.config
-
Registers annotation that enables the use of Datastore repositories.
- DatastoreRepositoriesRegistrar() - Constructor for class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoriesRegistrar
- DatastoreRepository<T,
I> - Interface in com.google.cloud.spring.data.datastore.repository -
A
PagingAndSortingRepository
that provides Datastore-specific functionality. - DatastoreRepositoryConfigurationExtension - Class in com.google.cloud.spring.data.datastore.repository.config
-
Holds configuration information for creating Datastore repositories and providing Datastore templates.
- DatastoreRepositoryConfigurationExtension() - Constructor for class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- DatastoreRepositoryFactory - Class in com.google.cloud.spring.data.datastore.repository.support
-
Repository factory for Datastore.
- DatastoreRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,
I>, S, I> - Class in com.google.cloud.spring.data.datastore.repository.support -
Factory bean for creating factories that create Datastore repositories.
- DatastoreRepositoryRuntimeHints - Class in com.google.cloud.spring.data.datastore.aot
- DatastoreRepositoryRuntimeHints() - Constructor for class com.google.cloud.spring.data.datastore.aot.DatastoreRepositoryRuntimeHints
- DatastoreResultsCollection<T> - Class in com.google.cloud.spring.data.datastore.core
- DatastoreResultsIterable<T> - Class in com.google.cloud.spring.data.datastore.core
- DatastoreResultsIterable(Iterable<T>, Cursor) - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
- DatastoreResultsIterable(Iterator<T>, Cursor) - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
- DatastoreServiceObjectToKeyFactory - Class in com.google.cloud.spring.data.datastore.core.convert
-
Implementation of
ObjectToKeyFactory
where the key factories are provided by the Datastore Service. - DatastoreServiceObjectToKeyFactory(Supplier<Datastore>) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DatastoreServiceObjectToKeyFactory
- DatastoreTemplate - Class in com.google.cloud.spring.data.datastore.core
-
An implementation of
DatastoreOperations
. - DatastoreTemplate(Supplier<? extends DatastoreReaderWriter>, DatastoreEntityConverter, DatastoreMappingContext, ObjectToKeyFactory) - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- datastoreTemplateRef() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Configures the name of the
DatastoreTemplate
bean to be used by default with the repositories detected. - DatastoreTransactionManager - Class in com.google.cloud.spring.data.datastore.core
-
Cloud Datastore transaction manager.
- DatastoreTransactionManager(Supplier<Datastore>) - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- DatastoreTransactionManager.Tx - Class in com.google.cloud.spring.data.datastore.core
-
A class to contain the transaction context.
- dateTimeProviderRef() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreAuditing
-
Configures a
DateTimeProvider
bean name that allows customizing theLocalDateTime
to be used for setting creation and modification dates. - DefaultDatastoreEntityConverter - Class in com.google.cloud.spring.data.datastore.core.convert
-
A class for object to entity and entity to object conversions.
- DefaultDatastoreEntityConverter(DatastoreMappingContext, ObjectToKeyFactory) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- DefaultDatastoreEntityConverter(DatastoreMappingContext, ReadWriteConversions) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- delete(T) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Delete an entity from Cloud Datastore.
- delete(T) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- delete(T) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- deleteAll() - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- deleteAll(Class<?>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Delete all entities of a given domain type.
- deleteAll(Class<?>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- deleteAll(Iterable<? extends T>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- deleteAll(Iterable<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Deletes multiple entities from Cloud Datastore.
- deleteAll(Iterable<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- deleteAllById(Iterable<?>, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Delete multiple IDs from Cloud Datastore.
- deleteAllById(Iterable<?>, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- deleteAllById(Iterable<? extends I>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- deleteById(I) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- deleteById(Object, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Delete an entity from Cloud Datastore.
- deleteById(Object, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- DeleteEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published when Spring Data Cloud Datastore performs a delete operation.
- DeleteEvent(Key[], Class, Iterable, Iterable) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
-
Constructor.
- Descendants - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for Datastore property that indicates it holds child entities that are linked to this entity by the Cloud Datastore Ancestor relationship.
- DiscriminatorField - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for entities that are root superclasses of inheritance hierarchies of subclass entities.
- DiscriminatorValue - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for subclasses in an inheritance hierarchy that matches a value in a discrimination field in the parent class.
- doBegin(Object, TransactionDefinition) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- doCleanupAfterCompletion(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- doGetTransaction() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- doWithColumnBackedProperties(PropertyHandler<DatastorePersistentProperty>) - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Applies the given
PropertyHandler
to allDatastorePersistentProperty
contained in thisDatastorePersistentEntity
that are stored as columns in the table for this entity. - doWithColumnBackedProperties(PropertyHandler<DatastorePersistentProperty>) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- doWithDescendantProperties(PropertyHandler<DatastorePersistentProperty>) - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Applies the given
PropertyHandler
to allDatastorePersistentProperty
contained in thisDatastorePersistentEntity
that are properties backed by descendants. - doWithDescendantProperties(PropertyHandler<DatastorePersistentProperty>) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
E
- EMBEDDED_ENTITY - Enum constant in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
These are properties that are POJOs or collections of POJOs stored as a singular embedded entity or arrays of embedded entities in the field.
- EMBEDDED_MAP - Enum constant in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
These are
Map
s that are stored as a single embedded entity in the field. - EmbeddedType - Enum Class in com.google.cloud.spring.data.datastore.core.mapping
-
The various types of properties with respect to their storage as embedded entities.
- EnableDatastoreAuditing - Annotation Interface in com.google.cloud.spring.data.datastore.repository.config
-
The annotation used to activate auditing functionality.
- EnableDatastoreRepositories - Annotation Interface in com.google.cloud.spring.data.datastore.repository.config
-
Annotation that enables the instantiation of Datastore repositories.
- Entity - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for a class that indicates it is an entity stored in a Datastore Entity.
- EntityPropertyValueProvider - Class in com.google.cloud.spring.data.datastore.core.convert
-
A
PropertyValueProvider
for Datastore entities. - EntityPropertyValueProvider(BaseEntity, ReadWriteConversions) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.EntityPropertyValueProvider
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterFindByKeyEvent
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterQueryEvent
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterSaveEvent
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
- equals(Object) - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
- excludeFilters() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Specifies which types are not eligible for component scanning.
- execute(Object[]) - Method in class com.google.cloud.spring.data.datastore.repository.query.GqlDatastoreQuery
- execute(Object[]) - Method in class com.google.cloud.spring.data.datastore.repository.query.PartTreeDatastoreQuery
- exists() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.query.Query
-
Returns whether the defined query should be executed as an exists projection.
- exists(Example<S>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- existsById(I) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- existsById(Object, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Check if the given ID belongs to an entity in Cloud Datastore.
- existsById(Object, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
F
- field() - Element in annotation interface com.google.cloud.spring.data.datastore.core.mapping.DiscriminatorField
-
The name of the field that holds the value that distinguishes which subclass an entity maps to.
- Field - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for a property that allows specifying the field name instead of deriving it from the property's name.
- findAll() - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAll(Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Get all the entities of the given domain type.
- findAll(Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- findAll(Class<T>, DatastoreQueryOptions) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Get all the entities of the given domain type applying limit, offset and sort.
- findAll(Class<T>, DatastoreQueryOptions) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- findAll(Example<S>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAll(Example<S>, Pageable) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAll(Example<S>, Sort) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAll(Pageable) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAll(Sort) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findAllById(Iterable<?>, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Find all the entities of the given IDs.
- findAllById(Iterable<?>, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- findAllById(Iterable<I>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findById(I) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- findById(Object, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Get an entity based on a id.
- findById(Object, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- findByIdAsMap(Key, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Get a Datastore entity based on a id and convert it to a map.
- findByIdAsMap(Key, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- findOne(Example<S>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- forEach(Consumer<? super T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- from(Pageable, Cursor, Long) - Static method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
-
Creates a
DatastorePageable
wrapper for a paged request, but passes unpaged requests back unchanged. - from(Pageable, String, Long) - Static method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
-
Creates a
DatastorePageable
wrapper for a paged request, but passes unpaged requests back unchanged.
G
- getAnnotation() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreAuditingRegistrar
- getAnnotation() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoriesRegistrar
- getAuditHandlerBeanDefinitionBuilder(AuditingConfiguration) - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreAuditingRegistrar
- getAuditingHandlerBeanName() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreAuditingRegistrar
- getCompatibleDiscriminationValues() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Get the discrimination values corresponding to this persistent entity ad its supertypes.
- getCompatibleDiscriminationValues() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- getConversions() - Method in interface com.google.cloud.spring.data.datastore.core.convert.DatastoreEntityConverter
-
Get the
ReadWriteConversions
used in this converter. - getConversions() - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- getCursor() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- getCursor() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- getCursor() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
- getDatastore() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager.Tx
- getDatastoreCompatibleType(Class) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Get the Cloud Datastore-compatible native Java type that can be used to store the given type.
- getDatastoreCompatibleType(Class) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- getDatastoreEntities() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterSaveEvent
-
Get the Cloud Datastore entities that were saved.
- getDatastoreEntityConverter() - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Get the
DatastoreEntityConverter
used by this template. - getDatastoreEntityConverter() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- getDatastoreOperations() - Method in class com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery
- getDatastorePersistentEntity(Class<?>) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
-
A non-null version of the
MappingContext.getPersistentEntity(Class)
. - getDiscriminationFamily(Class) - Static method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
-
Get the set of other classes that share the same underlying Datastore Kind and that are subclasses of the given class.
- getDiscriminationFieldName() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Get the name of the field for subtype discrimination if there is one.
- getDiscriminationFieldName() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- getDiscriminationPersistentEntity(Class<T>, BaseEntity<?>) - Method in interface com.google.cloud.spring.data.datastore.core.convert.DatastoreEntityConverter
-
Provide a
DatastorePersistentEntity
with support for discriminator fields. - getDiscriminationPersistentEntity(Class<T>, BaseEntity<?>) - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- getDiscriminatorValue() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Get the discrimination value corresponding to this persistent entity type.
- getDiscriminatorValue() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- getEmbeddedType() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
Get the
EmbeddedType
of the property indicating what what type of embedding pathway will be used to store the property. - getEmbeddedType() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- getEntityInformation(Class<T>) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactory
- getExtension() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoriesRegistrar
- getFieldName() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
Get the name of the field to store this property in Datastore.
- getFieldName() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- getId(T) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityInformation
- getIdentifyingAnnotations() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- getIdentifyingTypes() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- getIdPropertyOrFail() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Gets the ID property, and will throw
DatastoreDataException
if the entity does not have an ID property. - getIdPropertyOrFail() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- getIdType() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityInformation
- getIncompleteKey(String) - Method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreServiceObjectToKeyFactory
- getIncompleteKey(String) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ObjectToKeyFactory
-
Get an
IncompleteKey
(a Key without ID part) from a kind name. - getIterable() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
- getKey(Object) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Create a
Key
from id property of an entity object. - getKey(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- getKeyFromId(Object, String) - Method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreServiceObjectToKeyFactory
- getKeyFromId(Object, String) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ObjectToKeyFactory
-
Get a
Key
from a provided ID value and a kind name. - getKeyFromObject(Object, DatastorePersistentEntity) - Method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreServiceObjectToKeyFactory
- getKeyFromObject(Object, DatastorePersistentEntity) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ObjectToKeyFactory
-
Get a
Key
from an entity. - getKeys() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
-
Get the keys that were deleted in this operation.
- getKeyWithoutAncestors(Key) - Static method in class com.google.cloud.spring.data.datastore.core.util.KeyUtil
-
Returns a copy of the provided
entityKey
with its ancestors removed. - getLimit() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- getModulePrefix() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- getOffset() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- getOptionalTargetEntities() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
-
Get thetarget entity objects deleted.
- getOptionalTargetEntityClass() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
-
Get the target entity type deleted.
- getOptionalTargetIds() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
-
Get the target entity ID values deleted.
- getPropertyValue(DatastorePersistentProperty) - Method in class com.google.cloud.spring.data.datastore.core.convert.EntityPropertyValueProvider
- getPropertyValue(String, EmbeddedType, TypeInformation) - Method in class com.google.cloud.spring.data.datastore.core.convert.EntityPropertyValueProvider
- getQuery() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterQueryEvent
-
Get the query that was run.
- getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactory
- getQueryMethod() - Method in class com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery
- getRepositoryBaseClass(RepositoryMetadata) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactory
- getRepositoryFactoryBeanClassName() - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- getResults() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
-
Get the list of results from the read operation.
- getSort() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- getTargetEntities() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
-
Get the original Java objects that were saved.
- getTargetKeys() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterFindByKeyEvent
-
Get the list of target read keys.
- getTargetRepository(RepositoryInformation) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactory
- getTotalCount() - Method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
- getTransaction() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager.Tx
- getUrlSafeCursor() - Method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
- GqlDatastoreQuery<T> - Class in com.google.cloud.spring.data.datastore.repository.query
-
Query Method for GQL queries.
- GqlDatastoreQuery(Class<T>, DatastoreQueryMethod, DatastoreOperations, String, QueryMethodEvaluationContextProvider, DatastoreMappingContext) - Constructor for class com.google.cloud.spring.data.datastore.repository.query.GqlDatastoreQuery
-
Constructor.
H
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterFindByKeyEvent
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterQueryEvent
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.AfterSaveEvent
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.DeleteEvent
- hashCode() - Method in class com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
- hasTableName() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- HOLDER - Static variable in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
A simple type holder that only contains the Cloud Datastore native data types.
I
- ID_TYPES - Static variable in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
The set of native ID types that Datastore supports.
- includeFilters() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Specifies which types are eligible for component scanning.
- insert(T, Key...) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Inserts an instance of an object to Cloud Datastore.
- insert(T, Key...) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- insertAll(Iterable<T>, Key...) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Saves multiple instances of objects to Cloud Datastore.
- insertAll(Iterable<T>, Key...) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- isCollectionLike(Class) - Static method in class com.google.cloud.spring.data.datastore.core.util.ValueUtil
- isColumnBacked() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
True if the property is stored within Datastore entity.
- isColumnBacked() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- isDescendants() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
Whether the property contains entities that are related to this entity via the Cloud Datastore Ancestor relationship and have this entity as their ancestor.
- isDescendants() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- isEmpty() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- isExistingTransaction(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager
- isLazyLoaded() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
Return whether this property is a lazily-fetched one.
- isLazyLoaded() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- isNativeType(Class) - Static method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
Checks if a given type is a native type for Cloud Datastore.
- isUnindexed() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentProperty
-
True if the property should be excluded from indexes.
- isUnindexed() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentPropertyImpl
- iterator() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- iterator() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
K
- keyQueryByExample(Example<T>, DatastoreQueryOptions) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Run key query by example.
- keyQueryByExample(Example<T>, DatastoreQueryOptions) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- keyToPathElement(Key) - Static method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- KeyUtil - Class in com.google.cloud.spring.data.datastore.core.util
-
Utility class containing methods for transforming and manipulating Datastore keys.
- kindName() - Method in interface com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntity
-
Gets the name of the Datastore Kind.
- kindName() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
L
- LazyReference - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for a class that indicates that a property is a collection of lazy loaded Datastore entities.
M
- modifyOnCreate() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreAuditing
-
Configures whether the entity shall be marked as modified on creation.
N
- name() - Element in annotation interface com.google.cloud.spring.data.datastore.core.mapping.Entity
-
The Kind name of the Entity in Datastore, which can differ from the name of the class which it annotates.
- name() - Element in annotation interface com.google.cloud.spring.data.datastore.core.mapping.Field
-
The custom name of the field in the Datastore Entity, which can differ from the name of the property it annotates.
- namedQueriesLocation() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Configures the location of where to read the Spring Data named queries properties file.
- next() - Method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
- NOT_EMBEDDED - Enum constant in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
These are properties that stored as singular or arrays of Cloud Datastore native field types.
O
- ObjectToKeyFactory - Interface in com.google.cloud.spring.data.datastore.core.convert
-
An interface for creating Datastore Keys from objects and ID values.
- of(TypeInformation<?>) - Static method in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
Get the
EmbeddedType
of a givenTypeInformation
. - onApplicationEvent(BeforeSaveEvent) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreAuditingEventListener
P
- parallelStream() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- PartTreeDatastoreQuery<T> - Class in com.google.cloud.spring.data.datastore.repository.query
-
Name-based query method for Cloud Datastore.
- PartTreeDatastoreQuery(DatastoreQueryMethod, DatastoreOperations, DatastoreMappingContext, Class<T>, ProjectionFactory) - Constructor for class com.google.cloud.spring.data.datastore.repository.query.PartTreeDatastoreQuery
-
Constructor.
- performTransaction(Function<DatastoreOperations, A>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Performs multiple read and write operations in a single transaction.
- performTransaction(Function<DatastoreOperations, A>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- performTransaction(Function<DatastoreRepository<T, I>, A>) - Method in interface com.google.cloud.spring.data.datastore.repository.DatastoreRepository
-
Performs multiple read and write operations in a single transaction.
- performTransaction(Function<DatastoreRepository<T, I>, A>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
- postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreRepositoryConfigurationExtension
Q
- query(Query<? extends BaseEntity>, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Finds objects by using a Cloud Datastore query.
- query(Query<? extends BaseEntity>, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- query(Query<A>, Function<A, T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Runs given query and applies given function to each entity in the result.
- query(Query<A>, Function<A, T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- Query - Annotation Interface in com.google.cloud.spring.data.datastore.repository.query
-
Annotation to mark query methods in user-defined repositories that are supplied with Google Query Language custom queries.
- queryByExample(Example<T>, DatastoreQueryOptions) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Run query by example.
- queryByExample(Example<T>, DatastoreQueryOptions) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- queryEntitiesSlice(StructuredQuery, Class<T>, Pageable) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Finds entities by using a Cloud Datastore query.
- queryEntitiesSlice(StructuredQuery, Class<T>, Pageable) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- queryIterable(Query<A>, Function<A, T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Runs given query and applies given function to each entity in the result.
- queryIterable(Query<A>, Function<A, T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- queryKeys(Query<Key>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Finds Cloud Datastore Keys by using a Cloud Datastore query.
- queryKeys(Query<Key>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- queryKeysOrEntities(Query, Class<T>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Finds objects by using a Cloud Datastore query.
- queryKeysOrEntities(Query, Class<T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- queryKeysSlice(KeyQuery, Class<T>, Pageable) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Finds keys by using a Cloud Datastore query.
- queryKeysSlice(KeyQuery, Class<T>, Pageable) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
R
- read(Class<R>, BaseEntity) - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- readAsMap(BaseEntity, TypeInformation) - Method in interface com.google.cloud.spring.data.datastore.core.convert.DatastoreEntityConverter
-
Read the entity as a
Map
. - readAsMap(BaseEntity, TypeInformation) - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- readAsMap(Class<T>, TypeInformation<R>, BaseEntity) - Method in interface com.google.cloud.spring.data.datastore.core.convert.DatastoreEntityConverter
-
Read the entity as a
Map
when the map type is unknown. - readAsMap(Class<T>, TypeInformation<R>, BaseEntity) - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- ReadEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published when entities are read from Cloud Datastore.
- ReadEvent(Iterable) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
-
Constructor.
- ReadWriteConversions - Interface in com.google.cloud.spring.data.datastore.core.convert
-
An interface for type conversions on read and on write.
- registerAuditListenerBeanDefinition(BeanDefinition, BeanDefinitionRegistry) - Method in class com.google.cloud.spring.data.datastore.repository.config.DatastoreAuditingRegistrar
- registerEntityConverter(DatastoreEntityConverter) - Method in interface com.google.cloud.spring.data.datastore.core.convert.ReadWriteConversions
-
Registers
DatastoreEntityConverter
to be used for embedded entities. - registerEntityConverter(DatastoreEntityConverter) - Method in class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- registerHints(RuntimeHints, ClassLoader) - Method in class com.google.cloud.spring.data.datastore.aot.DatastoreCoreRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class com.google.cloud.spring.data.datastore.aot.DatastoreQueryRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class com.google.cloud.spring.data.datastore.aot.DatastoreRepositoryRuntimeHints
- remove(Object) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- removeAll(Collection<?>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- removeIf(Predicate<? super T>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- repositoryBaseClass() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryFactoryBeanClass() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Returns the
FactoryBean
class to be used for each repository instance. - repositoryImplementationPostfix() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- resolveQuery(Method, RepositoryMetadata, ProjectionFactory, NamedQueries) - Method in class com.google.cloud.spring.data.datastore.repository.query.DatastoreQueryLookupStrategy
- retainAll(Collection<?>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
S
- save(S) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- save(T, Key...) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Saves an instance of an object to Cloud Datastore.
- save(T, Key...) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- saveAll(Iterable<S>) - Method in class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- saveAll(Iterable<T>, Key...) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Saves multiple instances of objects to Cloud Datastore.
- saveAll(Iterable<T>, Key...) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- SaveEvent - Class in com.google.cloud.spring.data.datastore.core.mapping.event
-
An event published when entities are saved to Cloud Datastore.
- SaveEvent(List) - Constructor for class com.google.cloud.spring.data.datastore.core.mapping.event.SaveEvent
-
Constructor.
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastoreMappingContext
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactory
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactoryBean
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
- setCursor(Cursor) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
- setDatastoreMappingContext(DatastoreMappingContext) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactoryBean
- setDatastoreTemplate(DatastoreTemplate) - Method in class com.google.cloud.spring.data.datastore.repository.support.DatastoreRepositoryFactoryBean
- setDates() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreAuditing
-
Configures whether the creation and modification dates are set.
- setLimit(Integer) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
- setOffset(Integer) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
- setSort(Sort) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreQueryOptions.Builder
- setTransaction(Transaction) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager.Tx
- SimpleDatastoreRepository<T,
I> - Class in com.google.cloud.spring.data.datastore.repository.support -
Implementation of
DatastoreRepository
. - SimpleDatastoreRepository(DatastoreOperations, Class<T>) - Constructor for class com.google.cloud.spring.data.datastore.repository.support.SimpleDatastoreRepository
- size() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- sliceAndExecute(T[], int, Consumer<T[]>) - Static method in class com.google.cloud.spring.data.datastore.core.util.SliceUtil
-
Cut array into slices of a given size and call consumer on each of them.
- SliceUtil - Class in com.google.cloud.spring.data.datastore.core.util
- spliterator() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- stream() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
T
- toArray() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- toArray(T1[]) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- toCursor() - Method in class com.google.cloud.spring.data.datastore.repository.query.DatastorePageable
- toList() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsIterable
- toListIfArray(Object) - Static method in class com.google.cloud.spring.data.datastore.core.util.ValueUtil
- toString() - Method in class com.google.cloud.spring.data.datastore.core.DatastoreResultsCollection
- TwoStepsConversions - Class in com.google.cloud.spring.data.datastore.core.convert
-
In order to support
CustomConversions
, this class applies 2-step conversions. - TwoStepsConversions(CustomConversions, ObjectToKeyFactory, DatastoreMappingContext) - Constructor for class com.google.cloud.spring.data.datastore.core.convert.TwoStepsConversions
- Tx(Datastore) - Constructor for class com.google.cloud.spring.data.datastore.core.DatastoreTransactionManager.Tx
U
- Unindexed - Annotation Interface in com.google.cloud.spring.data.datastore.core.mapping
-
Annotation for Datastore property that indicates it should be excluded from indexes.
V
- value() - Element in annotation interface com.google.cloud.spring.data.datastore.core.mapping.DiscriminatorValue
-
The value that corresponds to entities of the annotated subclass stored in the Datastore Kind belonging to the parent class.
- value() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.config.EnableDatastoreRepositories
-
Alias for the
EnableDatastoreRepositories.basePackages()
attribute. - value() - Element in annotation interface com.google.cloud.spring.data.datastore.repository.query.Query
-
Takes a Cloud Datastore GQL string to define the actual query to be executed.
- valueOf(String) - Static method in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.cloud.spring.data.datastore.core.mapping.EmbeddedType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueUtil - Class in com.google.cloud.spring.data.datastore.core.util
-
Utility class containing functions for working with types related to Cloud Datastore.
- verify() - Method in class com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityImpl
W
- wrapValue(Object) - Static method in class com.google.cloud.spring.data.datastore.core.convert.DatastoreNativeTypes
-
Wraps Datastore native type to Datastore value type.
- write(Object, BaseEntity.Builder) - Method in class com.google.cloud.spring.data.datastore.core.convert.DefaultDatastoreEntityConverter
- writeMap(Key, Map<String, V>) - Method in interface com.google.cloud.spring.data.datastore.core.DatastoreOperations
-
Save a map as a Datastore entity, using map keys as field names.
- writeMap(Key, Map<String, V>) - Method in class com.google.cloud.spring.data.datastore.core.DatastoreTemplate
All Classes and Interfaces|All Packages|Serialized Form