Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractSpannerRequestOptions<A> - Class in com.google.cloud.spring.data.spanner.core
-
Abstract class of common Read and Query request settings.
- AbstractSpannerRequestOptions() - Constructor for class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- addPersistentProperty(SpannerPersistentProperty) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- addQueryOption(Options.QueryOption) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- addQueryOption(Options.QueryOption) - Method in class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
- addReadOption(Options.ReadOption) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- AfterDeleteEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event that is published after a delete operation.
- AfterDeleteEvent(List<Mutation>, Iterable, KeySet, Class) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.AfterDeleteEvent
-
Constructor.
- AfterExecuteDmlEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
This event is published immediately after a DML statement is executed.
- AfterExecuteDmlEvent(Statement, long) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.AfterExecuteDmlEvent
-
Constructor.
- AfterQueryEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
This event is published immediately following a read-by-query operation on Cloud Spanner.
- AfterQueryEvent(Iterable, Statement, SpannerQueryOptions) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.AfterQueryEvent
-
Constructor.
- AfterReadEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
This event read operation on Cloud Spanner.
- AfterReadEvent(Iterable, KeySet, SpannerReadOptions) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.AfterReadEvent
-
Constructor.
- AfterSaveEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event that is published after a save operation to Cloud Spanner.
- AfterSaveEvent(List<Mutation>, Iterable, Set<String>) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.AfterSaveEvent
-
Constructor.
- applyMutations(Collection<Mutation>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- applySort(Sort, StringBuilder, SpannerPersistentEntity<?>) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
- applySortingPagingQueryOptions(Class<T>, SpannerPageableQueryOptions, String, SpannerMappingContext, boolean) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Apply paging and sorting options to a query string.
- attemptBindSingleValue(Object, Class<?>, ValueBinder, SpannerCustomConverter) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
-
Bind a value to a ValueBinder.
- attemptSetIterableValueOnBinder(Iterable<Object>, ValueBinder, SpannerCustomConverter, Class) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
-
Bind an iterable value to a ValueBinder.
- auditorAwareRef() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerAuditing
-
Configures a
AuditorAware
bean to be used to lookup the current principal.
B
- basePackageClasses() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Type-safe alternative to
EnableSpannerRepositories.basePackages()
for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Base packages to scan for annotated components.
- BeforeDeleteEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event that is published after a delete operation.
- BeforeDeleteEvent(List<Mutation>, Iterable, KeySet, Class) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.BeforeDeleteEvent
-
Constructor.
- BeforeExecuteDmlEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
This event is published before a DML statement is executed.
- BeforeExecuteDmlEvent(Statement) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.BeforeExecuteDmlEvent
-
Constructor.
- BeforeSaveEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event that is published just before a save operation is sent to Cloud Spanner.
- BeforeSaveEvent(Iterable, Set<String>) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.BeforeSaveEvent
-
Constructor.
- buildQuery(KeySet, SpannerPersistentEntity<T>, SpannerCustomConverter, SpannerMappingContext) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Builds a query that returns the rows associated with a key set.
- buildQuery(KeySet, SpannerPersistentEntity<T>, SpannerCustomConverter, SpannerMappingContext, String) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Builds a query that returns the rows associated with a key set with additional SQL-where.
- buildQuery(KeySet, SpannerPersistentEntity<T>, SpannerCustomConverter, SpannerMappingContext, String, String) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Builds a query that returns the rows associated with a key set with additional SQL-where.
- buildStatementFromSqlWithArgs(String, List<String>, Function<Object, Struct>, SpannerCustomConverter, Object[], Map<String, Parameter>) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Creates a Cloud Spanner statement.
- buildWhere(SpannerPersistentEntity<?>) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Builds an SQL where clause for the persistent entity.
C
- CachingComposingSupplier<T,
U> - Class in com.google.cloud.spring.data.spanner.core.admin -
A supplier of objects that relies on another supplier and caches provided results.
- CachingComposingSupplier(Supplier<U>, Function<U, T>) - Constructor for class com.google.cloud.spring.data.spanner.core.admin.CachingComposingSupplier
-
Constructor.
- canConvert(Class<?>, Class<?>) - Method in class com.google.cloud.spring.data.spanner.core.convert.SpannerCustomConverter
- Column - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotation for a
SpannerPersistentProperty
that allows specifying the column name instead of deriving it from the field's name. - columns() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets the column names stored for this entity.
- columns() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- com.google.cloud.spring.data.spanner - package com.google.cloud.spring.data.spanner
-
Cloud Spanner support for Spring Data.
- com.google.cloud.spring.data.spanner.aot - package com.google.cloud.spring.data.spanner.aot
- com.google.cloud.spring.data.spanner.core - package com.google.cloud.spring.data.spanner.core
-
Core support for Spring Data Cloud Spanner.
- com.google.cloud.spring.data.spanner.core.admin - package com.google.cloud.spring.data.spanner.core.admin
-
Cloud Spanner database administrative functions and template classes.
- com.google.cloud.spring.data.spanner.core.convert - package com.google.cloud.spring.data.spanner.core.convert
-
Classes related to conversion of data and mapping of entities in Cloud Spanner support for Spring Data.
- com.google.cloud.spring.data.spanner.core.mapping - package com.google.cloud.spring.data.spanner.core.mapping
-
Classes related to type and Spring Data metadata in Cloud Spanner support for Spring Data.
- com.google.cloud.spring.data.spanner.core.mapping.event - package com.google.cloud.spring.data.spanner.core.mapping.event
- com.google.cloud.spring.data.spanner.core.mapping.typeadapter - package com.google.cloud.spring.data.spanner.core.mapping.typeadapter
- com.google.cloud.spring.data.spanner.repository - package com.google.cloud.spring.data.spanner.repository
-
Spring Data Repositories support in Cloud Spanner.
- com.google.cloud.spring.data.spanner.repository.config - package com.google.cloud.spring.data.spanner.repository.config
-
Configuration for instantiation of user-defined repositories in Spring Data Cloud Spanner.
- com.google.cloud.spring.data.spanner.repository.query - package com.google.cloud.spring.data.spanner.repository.query
-
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
- com.google.cloud.spring.data.spanner.repository.support - package com.google.cloud.spring.data.spanner.repository.support
-
Support classes for creating implementations for user-defined Spring Data Cloud Spanner repositories.
- CommitTimestamp - Class in com.google.cloud.spring.data.spanner.core.convert
-
The factory method
CommitTimestamp.of(Class)
should be used to resolve a specific value of a pointed class which is converted then to theValue.COMMIT_TIMESTAMP
byCommitTimestamp.CommitTimestampDecorator
. - CommitTimestamp.CommitTimestampDecorator<S> - Class in com.google.cloud.spring.data.spanner.core.convert
-
A specific decorator of the "to timestamp" function that any custom converter should follow to support "CommitTimestamp" feature.
- CommitTimestampDecorator(S, Function<S, Timestamp>) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.CommitTimestamp.CommitTimestampDecorator
- considerNestedRepositories() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.
- constructPersistentEntity(TypeInformation<T>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- ConversionUtils - Class in com.google.cloud.spring.data.spanner.core.convert
-
Utility functions used in conversion operations.
- convert(Object, Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.convert.SpannerCustomConverter
- convert(S) - Method in class com.google.cloud.spring.data.spanner.core.convert.CommitTimestamp.CommitTimestampDecorator
- ConverterAwareMappingSpannerEntityProcessor - Class in com.google.cloud.spring.data.spanner.core.convert
-
The primary class for writing entity objects to Spanner and creating entity objects from rows stored in Spanner.
- ConverterAwareMappingSpannerEntityProcessor(SpannerMappingContext) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- ConverterAwareMappingSpannerEntityProcessor(SpannerMappingContext, Collection<Converter>, Collection<Converter>) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- ConverterAwareMappingSpannerEntityWriter - Class in com.google.cloud.spring.data.spanner.core.convert
-
The primary class for adding values from entity objects to
Mutation.WriteBuilder
for the purpose of creating mutations for Spanner. - convertToKey(Object) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- convertToKey(Object) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
- convertToKey(Object) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityWriter
-
Convert a given object to a Cloud Spanner key.
- count() - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- count(Class<T>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Count how many objects are stored of the given type.
- count(Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- createAssociation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- createPersistentEntity(TypeInformation<T>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- createPersistentProperty(Property, SpannerPersistentEntity<?>, SimpleTypeHolder) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- createRepositoryFactory() - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactoryBean
D
- databaseExists() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Returns true if the configured database ID refers to an existing database.
- DatabaseIdProvider - Interface in com.google.cloud.spring.data.spanner.core.admin
-
A provider of
DatabaseId
that is used to determine the target Cloud Spanner databases on which to act. - DATE_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
Date
to the Spanner timestamp type. - dateTimeProviderRef() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerAuditing
-
Configures a
DateTimeProvider
bean name that allows customizing theLocalDateTime
to be used for setting creation and modification dates. - DEFAULT_SPANNER_READ_CONVERTERS - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
Converters from common types to those used by Spanner.
- DEFAULT_SPANNER_WRITE_CONVERTERS - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
Converters from common types to those used by Spanner.
- delete(Class<T>, Key) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Deletes an object based on a key.
- delete(Class<T>, Key) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- delete(Class<T>, KeySet) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Deletes objects given a set of keys.
- delete(Class<T>, KeySet) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- delete(Class<T>, Iterable<? extends T>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Deletes several objects from Spanner.
- delete(Class<T>, Iterable<? extends T>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- delete(Class, Key) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Deletes a key from Spanner.
- delete(Class, Key) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- delete(Class, KeySet) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Deletes a set of keys from Spanner.
- delete(Class, KeySet) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- delete(Object) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Deletes an object from storage.
- delete(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- delete(Object) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- delete(T) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Deletes a single object from Spanner.
- delete(T) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- deleteAll() - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- deleteAll(Iterable<?>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Deletes objects from storage in a batch.
- deleteAll(Iterable<?>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- deleteAll(Iterable<? extends T>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- deleteAllById(Iterable<? extends I>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- deleteById(Object) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- DeleteEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event signaling a Cloud Spanner delete operation.
- DeleteEvent(List<Mutation>, Iterable, KeySet, Class) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.DeleteEvent
-
Constructor.
- dmlStatement() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.query.Query
-
Indicates if the annotated Query Method is a DML statement or an SQL statement.
- doBegin(Object, TransactionDefinition) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- doCleanupAfterCompletion(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- doGetTransaction() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- doWithColumnBackedProperties(PropertyHandler<SpannerPersistentProperty>) - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Applies the given
PropertyHandler
to allSpannerPersistentProperty
s contained in thisSpannerPersistentProperty
that are stored as columns in the table for this entity. - doWithColumnBackedProperties(PropertyHandler<SpannerPersistentProperty>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- doWithInterleavedProperties(PropertyHandler<SpannerPersistentProperty>) - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Applies the given
PropertyHandler
to allSpannerPersistentProperty
s contained in thisSpannerPersistentProperty
that are collections of child entities. - doWithInterleavedProperties(PropertyHandler<SpannerPersistentProperty>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
E
- Embedded - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotates properties that are embedded objects that can hold primary key components.
- EnableSpannerAuditing - Annotation Interface in com.google.cloud.spring.data.spanner.repository.config
-
The annotation used to activate auditing functionality.
- EnableSpannerRepositories - Annotation Interface in com.google.cloud.spring.data.spanner.repository.config
-
Annotation that enables Spanner's Query Method functionality.
- entityType - Variable in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterExecuteDmlEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterQueryEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterReadEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.ExecuteDmlEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.LoadEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.MutationEvent
- equals(Object) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- excludeFilters() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Specifies which types are not eligible for component scanning.
- execute(Object[]) - Method in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- executeDdlStrings(Iterable<String>, boolean) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Execute the given DDL strings in order and creates the database if it does not exist.
- ExecuteDmlEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event holding a DML statement.
- ExecuteDmlEvent(Statement) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.ExecuteDmlEvent
-
Constructor.
- executeDmlStatement(Statement) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Execute a DML statement on Cloud Spanner.
- executeDmlStatement(Statement) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- executePartitionedDmlStatement(Statement) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Execute a DML statement in partitioned mode.
- executePartitionedDmlStatement(Statement) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- executePartitionedDmlStatement(Statement, Options.UpdateOption...) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Execute a DML statement in partitioned mode.
- executePartitionedDmlStatement(Statement, Options.UpdateOption...) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- executeQuery(Statement, SpannerQueryOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- executeQuery(Class<T>, PartTree, ParameterAccessor, Parameter[], SpannerTemplate, SpannerMappingContext) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Executes a PartTree-based query.
- executeQuery(Function<Struct, A>, Class<T>, PartTree, ParameterAccessor, Parameter[], SpannerTemplate, SpannerMappingContext) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Executes a PartTree-based query and applies a custom row-mapping function to the result.
- executeRawResult(Object[]) - Method in class com.google.cloud.spring.data.spanner.repository.query.PartTreeSpannerQuery
- executeRawResult(Object[]) - Method in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- existsById(I) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- existsById(Class<T>, Key) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Returns whether an entity with the given id exists.
- existsById(Class<T>, Key) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
F
- findAll() - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- findAll(Pageable) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- findAll(Sort) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- findAllById(Iterable<I>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- findAnnotation(Class<A>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- findById(I) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- findFirstCompatibleSpannerMultipleItemNativeType(Predicate<Class>) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
- findFirstCompatibleSpannerSingleItemNativeType(Predicate<Class>) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
- findPropertyOrOwnerAnnotation(Class<A>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
G
- get() - Method in class com.google.cloud.spring.data.spanner.core.admin.CachingComposingSupplier
- getActualType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getAnnotatedColumnItemType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getAnnotatedColumnItemType() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Optionally directly specify the column type in Cloud Spanner.
- getAnnotatedColumnItemType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- getAnnotation() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
- getAnnotation() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoriesRegistrar
- getArrayJavaClassFor(Type.Code) - Static method in class com.google.cloud.spring.data.spanner.core.convert.SpannerTypeMapper
- getArrayTypeCodeForJavaType(Class) - Static method in class com.google.cloud.spring.data.spanner.core.convert.SpannerTypeMapper
- getAssociation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getAssociationTargetType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
-
Returns
null
. - getAssociationTargetTypeInformation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
-
Returns null for consistency with isAssociation().
- getAuditHandlerBeanDefinitionBuilder(AuditingConfiguration) - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
- getAuditingHandlerBeanName() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
- getChildParentTablesMap() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Return a map where key is the table name and the value is the parent table name.
- getChildrenRowsQuery(Key, SpannerPersistentProperty, SpannerCustomConverter, SpannerMappingContext) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
-
Gets a
Statement
that returns the rows associated with a parent entity. - getColumnInnerType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getColumnInnerType() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Gets the inner type of the column, which is meaningful for columns of type ARRAY in Google Cloud Spanner.
- getColumnInnerType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- getColumnName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getColumnName() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Gets the name of the column in the Google Cloud Spanner table mapped to this property.
- getColumnName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
-
Gets the name of the column in the Cloud Spanner table mapped to this property.
- getColumnsStringForSelect(SpannerPersistentEntity<?>, SpannerMappingContext, boolean) - Static method in class com.google.cloud.spring.data.spanner.repository.query.SpannerStatementQueryExecutor
- getComponentType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getCorrespondingSpannerJavaType(Class, boolean) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- getCorrespondingSpannerJavaType(Class, boolean) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Gets the type that will work for both read and writes with Spanner directly.
- getCreateTableDdlString(Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Gets the DDL string to create the table for the given entity in Cloud Spanner.
- getCreateTableDdlStringsForInterleavedHierarchy(Class) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Gets a list of DDL strings to create the tables rooted at the given entity class.
- getDatabase() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Get the database ID used to perform database operations.
- getDatabaseClient() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
- getDropTableDdlString(Class) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Gets the DDL string to drop the table for the given entity in Cloud Spanner.
- getDropTableDdlStringsForInterleavedHierarchy(Class) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Gets the DDL strings to drop the tables of this entity and all of its sub-entities.
- getEntityInformation(Class<T>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
- getExtension() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoriesRegistrar
- getField() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getFieldNamingStrategy() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
-
Gets the field naming strategy used by this mapping context.
- getFlattenedPrimaryKeyProperties() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets the primary key properties in order.
- getFlattenedPrimaryKeyProperties() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getGetter() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getGson() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- getId(T) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityInformation
- getIdentifyingAnnotations() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- getIdentifyingTypes() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- getIdProperty() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
- getIdProperty() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getIdType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityInformation
- getIncludeProperties() - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- getIncludeProperties() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.SaveEvent
-
Get the optional set of properties to include in this save operation.
- getIndex() - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- getInstanceId() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Get the instance ID used to perform database operations.
- getJsonValue(int, Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.convert.StructAccessor
- getKey(Object) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Gets the key for the given object.
- getKeySet() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterReadEvent
-
Get the keys that were read.
- getLimit() - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- getMappingContext() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- getMapValueType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getMaxColumnLength() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getMaxColumnLength() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Gets the maximum data length of the column if provided.
- getMaxColumnLength() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- getModulePrefix() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- getMutations() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.MutationEvent
-
Get the mutations underlying this event.
- getName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getNumberOfRowsAffected() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterExecuteDmlEvent
-
Get the number of rows affected by the DML.
- getOffset() - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- getOptions() - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- getOwner() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getParentChildTablesMap() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Return a map of parent and child table relationships in the database at the moment.
- getPersistentEntityOrFail(Class<?>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- getPersistentEntityTypeInformation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getPersistentEntityTypeInformation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
-
Only provides types that are also annotated with
Table
. - getPrimaryKeyColumnName() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Returns a primary key column name; if there are multiple primary key columns, returns first one.
- getPrimaryKeyColumnName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getPrimaryKeyOrder() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getPrimaryKeyOrder() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Gets the order of this column if it is part of the table's primary key.
- getPrimaryKeyOrder() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- getPrimaryKeyProperties() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets the primary key properties in order.
- getPrimaryKeyProperties() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getPropertyAccessor(B) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getQuery() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterQueryEvent
-
Get the read query that was run.
- getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
-
Deprecated.
- getQueryLookupStrategy(QueryLookupStrategy.Key, ValueExpressionDelegate) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
- getQueryMethod() - Method in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- getRawType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getReadContext() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- getReadContext(TimestampBound) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- getReadConverter() - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- getReadConverter() - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Get the read converter used by this processor.
- getRepositoryBaseClass(RepositoryMetadata) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
- getRepositoryFactoryBeanClassName() - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- getRetrievedEntities() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.LoadEvent
-
Returns the entities that were loaded.
- getSetter() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getSimpleJavaClassFor(Type.Code) - Static method in class com.google.cloud.spring.data.spanner.core.convert.SpannerTypeMapper
- getSimpleTypeCodeForJavaType(Class) - Static method in class com.google.cloud.spring.data.spanner.core.convert.SpannerTypeMapper
- getSingleJsonValue(int, Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.convert.StructAccessor
- getSingleValue(int) - Method in class com.google.cloud.spring.data.spanner.core.convert.StructAccessor
- getSort() - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- getSpannerEntityProcessor() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets a SpannerEntityProcessor that can be used to create Cloud Spanner keys from one or more persistent properties.
- getSpannerEntityProcessor() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getSpannerEntityProcessor() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- getSpannerMappingContext() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets the SpannerMappingContext that can be used to create persistent entities of types that appear as properties of this entity.
- getSpannerMappingContext() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getSpannerQueryOptions() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterQueryEvent
-
Get the options that were used to conduct the query.
- getSpannerReadOptions() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterReadEvent
-
Get the options that were used to conduct the read.
- getSpannerTemplate() - Method in interface com.google.cloud.spring.data.spanner.repository.SpannerRepository
-
Gets a
SpannerOperations
, which allows more-direct access to Google Cloud Spanner functions. - getSpannerTemplate() - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- getSpannerWriteConverter() - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- getSpannerWriteConverter() - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
- getSpannerWriteConverter() - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityWriter
-
Get the SpannerWriteConverter used to convert types into Cloud Spanner compatible types.
- getSpelExpression() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getStatement() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.ExecuteDmlEvent
-
Get the DML statement.
- getTables() - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Return a set of the tables that currently exist in the database.
- getTargetEntities() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.MutationEvent
-
Get the list of entities that needed to be deleted.
- getTargetKeys() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.DeleteEvent
-
Get the list of keys that needed to be deleted.
- getTargetRepository(RepositoryInformation) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
- getTargetType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.DeleteEvent
-
Get the type of entity that needed to be deleted.
- getTimestamp() - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- getTimestampBound() - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- getTransactionContext() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
- getTransactionManager() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
- getType() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getTypeInformation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- getWhere() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Returns the value of the
Where
annotation from the entity's class or inherited from parents or an empty string when no annotation found. - getWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- getWhere() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Returns
WHERE
clause of the interleaved property or empty string if no value. - getWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- getWither() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
-
Returns
null
. - getWriteConverter() - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- getWriteConverter() - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Get the write converter used by this processor.
H
- hasAnnotatedQuery() - Method in class com.google.cloud.spring.data.spanner.repository.query.SpannerQueryMethod
-
Returns whether the method has an annotated query.
- hasAnnotatedTableName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- hasEagerlyLoadedProperties() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Returns true if the entity has at least one eagerly load interleaved property.
- hasEagerlyLoadedProperties() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterExecuteDmlEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterQueryEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.AfterReadEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.ExecuteDmlEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.LoadEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.event.MutationEvent
- hashCode() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- hasIdProperty() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- hasMultiFieldKey() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Returns true if the entity has a muti-field key.
- hasMultiFieldKey() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- hasWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- hasWhere() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Returns true when the entity has an annotation
Where
with a non-empty value. - hasWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- hasWhere() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Returns true when the property has an annotation
Where
with a non-empty value. - hasWhere() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
I
- ignoreForWriteLazyProxy(Object) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConversionUtils
- includeFilters() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Specifies which types are eligible for component scanning.
- insert(Object) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Stores an object and its interleaved child properties in Cloud Spanner.
- insert(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- insert(Object) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Insert an object into storage.
- insert(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- insertAll(Iterable<?>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Insert objects into storage in batch.
- insertAll(Iterable<?>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- INSTANT_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
Instant
to the Spanner instantaneous time type. - InstantTypeAdapter - Class in com.google.cloud.spring.data.spanner.core.mapping.typeadapter
- InstantTypeAdapter() - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.typeadapter.InstantTypeAdapter
- Interleaved - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotates properties that are collections of child entities.
- isAllowPartialRead() - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- isAnnotationPresent(Class<? extends Annotation>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isArray() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isAssociation() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isCollectionLike() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isCommitTimestamp() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isCommitTimestamp() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
If the column is a Cloud Spanner commit timestamp auto-populating column.
- isCommitTimestamp() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isEagerInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isEagerInterleaved() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Return whether this property is an eagerly-fetched interleaved property.
- isEagerInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isEmbedded() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isEmbedded() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
True if the property is an embedded class containing more columns.
- isEmbedded() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isEntity() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isExistingTransaction(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- isGenerateSchemaNotNull() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isGenerateSchemaNotNull() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
If the column's schema should be NOT NULL when generating a schema based on an entity class.
- isGenerateSchemaNotNull() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isIdProperty() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isIdProperty() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isImmutable() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
-
Returns
false
. - isInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isInterleaved() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
True if property is a collection of child entities.
- isInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isInterleaved(String, String) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Return true if the given table names are interleaved as ancestor and descendant.
- isIterableNonByteArrayType(Class) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConversionUtils
- isJsonProperty(Class<?>) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- isLazyInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isLazyInterleaved() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
Return whether this property is a lazily-fetched interleaved property.
- isLazyInterleaved() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isMap() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isMapped() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isMapped() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
-
True if property corresponds to a column a Cloud Spanner table or child entities stored in Cloud Spanner.
- isMapped() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentPropertyImpl
- isReadable() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isReadOnly() - Method in class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
- isTransient() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isVersionProperty() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- isWritable() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
J
- JAVA_SQL_TO_SPANNER_DATE_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
Date
to the Spanner date type. - JAVA_TO_SPANNER_BYTE_ARRAY_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from a byte array to the Spanner bytes type.
- JAVA_TO_SPANNER_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
Timestamp
to the Spanner instantaneous time type.
K
- keyOrder() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.PrimaryKey
-
The order of columns that comprise the primary key.
L
- lazy() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Interleaved
-
Controls whether the referenced entity should be loaded lazily.
- LoadEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
This event read operation on Cloud Spanner.
- LoadEvent(Iterable) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.LoadEvent
-
Constructor.
- LOCAL_DATE_TIME_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
LocalDateTime
to the Spanner timestamp type. - LOCAL_DATE_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from
LocalDate
to the Spanner date type.
M
- mapToList(ResultSet, Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- mapToList(ResultSet, Class<T>) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Converts a set of Spanner
ResultSet
into a list of objects. - mapToList(ResultSet, Class<T>, String...) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- mapToList(ResultSet, Class<T>, String...) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Converts a set of Spanner
ResultSet
into a list of objects. - mapToList(ResultSet, Class<T>, Set<String>, boolean) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- mapToList(ResultSet, Class<T>, Set<String>, boolean) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
-
Converts a Spanner
ResultSet
into a list of objects. - modifyOnCreate() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerAuditing
-
Configures whether the entity shall be marked as modified on creation.
- MultipleValueBinder - Interface in com.google.cloud.spring.data.spanner.core.convert
-
An interface that allows multiple values to be bound for Cloud Spanner.
- MutationEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event holding mutations that are submitted to Cloud Spanner.
- MutationEvent(List<Mutation>, Iterable) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.MutationEvent
-
Constructor.
N
- name() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Column
-
The custom name of the column in the Spanner table, which can differ from the name of the field which it annotates.
- name() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Table
-
The name of the table in Spanner, which can differ from the name of the class which it annotates.
- namedQueriesLocation() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Configures the location of where to read the Spring Data named queries properties file.
- NotMapped - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotation for an entity's field that causes the field to be ignored by Spring Data Spanner.
- nullable() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Column
-
If the column's schema should be NOT NULL when generating a schema based on an entity class.
O
- of(Class<T>) - Static method in class com.google.cloud.spring.data.spanner.core.convert.CommitTimestamp
-
Creates a value for
Value.COMMIT_TIMESTAMP
. - onApplicationEvent(BeforeSaveEvent) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerAuditingEventListener
P
- PartTreeSpannerQuery<T> - Class in com.google.cloud.spring.data.spanner.repository.query
-
Implementation of a Spanner Query Method that handles all Part-tree / name-convention query methods.
- PartTreeSpannerQuery(Class<T>, SpannerQueryMethod, SpannerTemplate, SpannerMappingContext) - Constructor for class com.google.cloud.spring.data.spanner.repository.query.PartTreeSpannerQuery
-
Constructor.
- performReadOnlyTransaction(Function<SpannerTemplate, T>, SpannerReadOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Performs multiple read-only operations in a single transaction.
- performReadOnlyTransaction(Function<SpannerTemplate, T>, SpannerReadOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- performReadOnlyTransaction(Function<SpannerRepository<T, I>, A>) - Method in interface com.google.cloud.spring.data.spanner.repository.SpannerRepository
-
Performs multiple read-only operations in a single transaction.
- performReadOnlyTransaction(Function<SpannerRepository<T, I>, A>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- performReadWriteTransaction(Function<SpannerTemplate, T>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Performs multiple read and write operations in a single transaction.
- performReadWriteTransaction(Function<SpannerTemplate, T>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- performReadWriteTransaction(Function<SpannerRepository<T, I>, A>) - Method in interface com.google.cloud.spring.data.spanner.repository.SpannerRepository
-
Performs multiple read and write operations in a single transaction.
- performReadWriteTransaction(Function<SpannerRepository<T, I>, A>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- PrimaryKey - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotation for a
SpannerPersistentEntity
that allows specifying the primary key columns and their order.
Q
- query(Class<T>, Statement, SpannerQueryOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds objects by using an SQL statement.
- query(Class<T>, Statement, SpannerQueryOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- query(Function<Struct, A>, Statement, SpannerQueryOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Executes a given query string with tags and parameters and applies a given function to each row of the result.
- query(Function<Struct, A>, Statement, SpannerQueryOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- Query - Annotation Interface in com.google.cloud.spring.data.spanner.repository.query
-
Annotation used in user-defined repositories to provide SQL for custom Query Methods.
- queryAll(Class<T>, SpannerPageableQueryOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds all objects of the given type.
- queryAll(Class<T>, SpannerPageableQueryOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- queryMethod - Variable in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
R
- read(JsonReader) - Method in class com.google.cloud.spring.data.spanner.core.mapping.typeadapter.InstantTypeAdapter
- read(Class<R>, Struct) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
- read(Class<R>, Struct, Set<String>, boolean) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- read(Class<R>, Struct, Set<String>, boolean) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityProcessor
- read(Class<T>, Key) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds a single stored object using a key.
- read(Class<T>, Key) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- read(Class<T>, Key, SpannerReadOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds a single stored object using a key.
- read(Class<T>, Key, SpannerReadOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- read(Class<T>, KeySet) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds objects stored from their keys.
- read(Class<T>, KeySet) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- read(Class<T>, KeySet, SpannerReadOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds objects stored from their keys.
- read(Class<T>, KeySet, SpannerReadOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- readAll(Class<T>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds all objects of the given type.
- readAll(Class<T>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- readAll(Class<T>, SpannerReadOptions) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Finds all objects of the given type.
- readAll(Class<T>, SpannerReadOptions) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- registerAuditListenerBeanDefinition(BeanDefinition, BeanDefinitionRegistry) - Method in class com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
- registerHints(RuntimeHints, ClassLoader) - Method in class com.google.cloud.spring.data.spanner.aot.SpannerRepositoryRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - Method in class com.google.cloud.spring.data.spanner.aot.SpannerSchemaUtilsRuntimeHints
- repositoryBaseClass() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
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.spanner.repository.config.EnableSpannerRepositories
-
Returns the
FactoryBean
class to be used for each repository instance. - repositoryImplementationPostfix() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- requestOptions - Variable in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- requestOptionType - Variable in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- resolveQuery(Method, RepositoryMetadata, ProjectionFactory, NamedQueries) - Method in class com.google.cloud.spring.data.spanner.repository.query.SpannerQueryLookupStrategy
S
- save(S) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- saveAll(Iterable<S>) - Method in class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- SaveEvent - Class in com.google.cloud.spring.data.spanner.core.mapping.event
-
An event that signals a save operation to Cloud Spanner.
- SaveEvent(List<Mutation>, Iterable, Set<String>) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.event.SaveEvent
-
Constructor.
- set(String) - Method in interface com.google.cloud.spring.data.spanner.core.convert.MultipleValueBinder
-
Returns a
ValueBinder
for a given field name to bind. - setAllowPartialRead(boolean) - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- setAllowPartialRead(boolean) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setAllowPartialRead(boolean) - Method in class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
- setAllowPartialRead(boolean) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactory
- setApplicationContext(ApplicationContext) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactoryBean
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- setDates() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerAuditing
-
Configures whether the creation and modification dates are set.
- setFieldNamingStrategy(FieldNamingStrategy) - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
-
Set the field naming strategy used when creating persistent properties.
- setIncludeProperties(Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- setIncludeProperties(Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setIncludeProperties(Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
- setIncludeProperties(Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- setIndex(String) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- setLimit(Integer) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setOffset(Long) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setSort(Sort) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setSpannerMappingContext(SpannerMappingContext) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactoryBean
- setSpannerTemplate(SpannerTemplate) - Method in class com.google.cloud.spring.data.spanner.repository.support.SpannerRepositoryFactoryBean
- setTimestamp(Timestamp) - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
- setTimestamp(Timestamp) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setTimestamp(Timestamp) - Method in class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
- setTimestamp(Timestamp) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- setTimestampBound(TimestampBound) - Method in class com.google.cloud.spring.data.spanner.core.AbstractSpannerRequestOptions
-
Set if this query should be executed with bounded staleness.
- setTimestampBound(TimestampBound) - Method in class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- setTimestampBound(TimestampBound) - Method in class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
- setTimestampBound(TimestampBound) - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
- SimpleSpannerRepository<T,
I> - Class in com.google.cloud.spring.data.spanner.repository.support -
The default implementation of a SpannerRepository.
- SimpleSpannerRepository(SpannerTemplate, Class<T>) - Constructor for class com.google.cloud.spring.data.spanner.repository.support.SimpleSpannerRepository
- singleItemTypeValueBinderMethodMap - Static variable in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
-
A map of types to functions that binds them to `ValueBinder` objects.
- SPANNER_TO_JAVA_BYTE_ARRAY_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner bytes type to a byte array.
- SPANNER_TO_JAVA_SQL_DATE_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner date type to
Date
. - SPANNER_TO_JAVA_TIMESTAMP_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner instantaneous time type to
Timestamp
. - SpannerAuditingEventListener - Class in com.google.cloud.spring.data.spanner.repository.support
-
Auditing event listener that listens for
BeforeSaveEvent
. - SpannerAuditingEventListener(AuditingHandler) - Constructor for class com.google.cloud.spring.data.spanner.repository.support.SpannerAuditingEventListener
-
Constructor.
- SpannerAuditingRegistrar - Class in com.google.cloud.spring.data.spanner.repository.config
-
Registers the annotations and classes for providing auditing support in Spring Data Cloud Spanner.
- SpannerAuditingRegistrar() - Constructor for class com.google.cloud.spring.data.spanner.repository.config.SpannerAuditingRegistrar
- spannerCommitTimestamp() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Column
-
This setting takes effect when the entity in which it appears is used to generate schema DDL.
- SpannerCompositeKeyProperty - Class in com.google.cloud.spring.data.spanner.core.mapping
-
Represents an persistent property just to represent Cloud Spanner primary keys, and does not correspond to actual properties of POJOs, as it might even be a composite, multi-column key.
- SpannerCompositeKeyProperty(SpannerPersistentEntity, SpannerPersistentProperty[]) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
- SpannerConverters - Class in com.google.cloud.spring.data.spanner.core.convert
-
Default commonly-used custom converters.
- SpannerCustomConverter - Class in com.google.cloud.spring.data.spanner.core.convert
-
A custom type converter.
- SpannerDatabaseAdminTemplate - Class in com.google.cloud.spring.data.spanner.core.admin
-
Template for performing many operations to a Spanner database including generating hierarchy schemas and creating and deleting tables.
- SpannerDatabaseAdminTemplate(DatabaseAdminClient, Supplier<DatabaseClient>, Supplier<DatabaseId>) - Constructor for class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Constructor that takes in the database admin client used to perform operations and the
DatabaseId
object holding the project, instance, and database IDs used for all operations. - SpannerDataException - Exception in com.google.cloud.spring.data.spanner.core.mapping
-
Exceptions for Spring Data Cloud Spanner.
- SpannerDataException(String) - Constructor for exception com.google.cloud.spring.data.spanner.core.mapping.SpannerDataException
- SpannerDataException(String, Throwable) - Constructor for exception com.google.cloud.spring.data.spanner.core.mapping.SpannerDataException
- SpannerEntityProcessor - Interface in com.google.cloud.spring.data.spanner.core.convert
-
Interface for processors that can populate fields from Spanner Structs and write them to Spanner Mutations.
- SpannerEntityWriter - Interface in com.google.cloud.spring.data.spanner.core.convert
-
An entity writer that writes values from an entity to a sink.
- spannerMappingContext - Variable in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- SpannerMappingContext - Class in com.google.cloud.spring.data.spanner.core.mapping
-
A mapping context for Cloud Spanner that provides ways to create persistent entities and properties.
- SpannerMappingContext() - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- SpannerMappingContext(Gson) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
- spannerMappingContextRef() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Configures the name of the
SpannerMappingContext
bean to be used by default with the repositories detected. - SpannerMutationFactory - Interface in com.google.cloud.spring.data.spanner.core
-
Interface for a factory that creates Cloud Spanner mutation operation objects.
- SpannerMutationFactoryImpl - Class in com.google.cloud.spring.data.spanner.core
-
Factory that generates mutations for writing to Spanner.
- SpannerMutationFactoryImpl(SpannerEntityProcessor, SpannerMappingContext, SpannerSchemaUtils) - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
-
Constructor.
- SpannerOperations - Interface in com.google.cloud.spring.data.spanner.core
-
Defines operations available to use with Spanner.
- SpannerPageableQueryOptions - Class in com.google.cloud.spring.data.spanner.core
-
Encapsulates Cloud Spanner query options with sort and paging.
- SpannerPageableQueryOptions() - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerPageableQueryOptions
- SpannerPersistentEntity<T> - Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Cloud Spanner specific interface for a
MutablePersistentEntity
stored in a Cloud Spanner table. - SpannerPersistentEntityImpl<T> - Class in com.google.cloud.spring.data.spanner.core.mapping
-
Represents a Cloud Spanner table and its columns' mapping to fields within an entity type.
- SpannerPersistentEntityImpl(TypeInformation<T>, SpannerMappingContext, SpannerEntityProcessor) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
-
Creates a
SpannerPersistentEntityImpl
. - SpannerPersistentEntityInformation<T> - Class in com.google.cloud.spring.data.spanner.core.mapping
-
Holds a Spanner persistent entity and its key type.
- SpannerPersistentEntityInformation(SpannerPersistentEntity<T>) - Constructor for class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityInformation
-
Creates a new
SpannerPersistentEntityInformation
for the givenSpannerPersistentEntity
. - SpannerPersistentProperty - Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Interface for a
PersistentProperty
of aSpannerPersistentEntity
to be stored in a Google Cloud Spanner table. - SpannerPersistentPropertyImpl - Class in com.google.cloud.spring.data.spanner.core.mapping
-
Represents an implementation for
SpannerPersistentProperty
, which is a property of aSpannerPersistentEntity
stored in a Cloud Spanner table. - SpannerQueryLookupStrategy - Class in com.google.cloud.spring.data.spanner.repository.query
-
Determines the type of the user's custom-defined Query Methods and instantiates their implementations.
- SpannerQueryLookupStrategy(SpannerMappingContext, SpannerTemplate, QueryMethodEvaluationContextProvider, SpelExpressionParser) - Constructor for class com.google.cloud.spring.data.spanner.repository.query.SpannerQueryLookupStrategy
- SpannerQueryLookupStrategy(SpannerMappingContext, SpannerTemplate, ValueExpressionDelegate, SpelExpressionParser) - Constructor for class com.google.cloud.spring.data.spanner.repository.query.SpannerQueryLookupStrategy
- SpannerQueryMethod - Class in com.google.cloud.spring.data.spanner.repository.query
-
A Query Method for Spanner.
- SpannerQueryMethod(Method, RepositoryMetadata, ProjectionFactory) - Constructor for class com.google.cloud.spring.data.spanner.repository.query.SpannerQueryMethod
-
Creates a new
QueryMethod
from the given parameters. - SpannerQueryOptions - Class in com.google.cloud.spring.data.spanner.core
-
Encapsulates Cloud Spanner query options.
- SpannerQueryOptions() - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerQueryOptions
-
Constructor to create an instance.
- SpannerReadConverter - Class in com.google.cloud.spring.data.spanner.core.convert
-
A custom converter used for reading from Spanner data types.
- SpannerReadConverter() - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerReadConverter
- SpannerReadConverter(Collection<Converter>) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerReadConverter
- SpannerReadConverter(CustomConversions) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerReadConverter
- SpannerReadConverter(CustomConversions, GenericConversionService) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerReadConverter
- SpannerReadOptions - Class in com.google.cloud.spring.data.spanner.core
-
Encapsulates Cloud Spanner read options.
- SpannerReadOptions() - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
-
Constructor to create an instance.
- SpannerRepositoriesRegistrar - Class in com.google.cloud.spring.data.spanner.repository.config
-
A boilerplate class to register Spanner repositories.
- SpannerRepositoriesRegistrar() - Constructor for class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoriesRegistrar
- SpannerRepository<T,
I> - Interface in com.google.cloud.spring.data.spanner.repository -
A Spring Data repository for Cloud Spanner with specific features.
- SpannerRepositoryConfigurationExtension - Class in com.google.cloud.spring.data.spanner.repository.config
-
A boilerplate class configuring the instantiation of Spanner repositories.
- SpannerRepositoryConfigurationExtension() - Constructor for class com.google.cloud.spring.data.spanner.repository.config.SpannerRepositoryConfigurationExtension
- SpannerRepositoryFactory - Class in com.google.cloud.spring.data.spanner.repository.support
-
A factory for instantiating Spanner repositories.
- SpannerRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,
I>, S, I> - Class in com.google.cloud.spring.data.spanner.repository.support -
Spanner Repository Factory Bean used to create factories that ultimately create repository implementations.
- SpannerRepositoryRuntimeHints - Class in com.google.cloud.spring.data.spanner.aot
- SpannerRepositoryRuntimeHints() - Constructor for class com.google.cloud.spring.data.spanner.aot.SpannerRepositoryRuntimeHints
- SpannerSchemaUtils - Class in com.google.cloud.spring.data.spanner.core.admin
-
Contains functions related to the table schema of entities.
- SpannerSchemaUtils(SpannerMappingContext, SpannerEntityProcessor, boolean) - Constructor for class com.google.cloud.spring.data.spanner.core.admin.SpannerSchemaUtils
-
Constructor.
- SpannerSchemaUtilsRuntimeHints - Class in com.google.cloud.spring.data.spanner.aot
- SpannerSchemaUtilsRuntimeHints() - Constructor for class com.google.cloud.spring.data.spanner.aot.SpannerSchemaUtilsRuntimeHints
- SpannerStatementQueryExecutor - Class in com.google.cloud.spring.data.spanner.repository.query
-
Executes Cloud Spanner query statements using
PartTree
parsed method definitions. - spannerTemplate - Variable in class com.google.cloud.spring.data.spanner.repository.query.SqlSpannerQuery
- SpannerTemplate - Class in com.google.cloud.spring.data.spanner.core
-
An implementation of
SpannerOperations
. - SpannerTemplate(Supplier<DatabaseClient>, SpannerMappingContext, SpannerEntityProcessor, SpannerMutationFactory, SpannerSchemaUtils) - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- spannerTemplateRef() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Configures the name of the
SpannerOperations
bean to be used by default with the repositories detected. - SpannerTransactionManager - Class in com.google.cloud.spring.data.spanner.core
-
Spanner transaction manager.
- SpannerTransactionManager(Supplier) - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager
- SpannerTransactionManager.Tx - Class in com.google.cloud.spring.data.spanner.core
-
A transaction object that holds the transaction context.
- spannerType() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Column
-
Optionally directly specify the column type in Cloud Spanner.
- SpannerTypeMapper - Class in com.google.cloud.spring.data.spanner.core.convert
-
A utility class to map between common Java types and types to use with Spanner.
- spannerTypeMaxLength() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Column
-
The maximum length of the column in Cloud Spanner terms.
- SpannerWriteConverter - Class in com.google.cloud.spring.data.spanner.core.convert
-
A custom converter for writing values from entities to types for Spanner.
- SpannerWriteConverter() - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerWriteConverter
- SpannerWriteConverter(Collection<Converter>) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerWriteConverter
- SpannerWriteConverter(CustomConversions) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerWriteConverter
- SpannerWriteConverter(CustomConversions, GenericConversionService) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.SpannerWriteConverter
- SqlSpannerQuery<T> - Class in com.google.cloud.spring.data.spanner.repository.query
-
A Query Method for Spanner using SQL strings.
- StructAccessor - Class in com.google.cloud.spring.data.spanner.core.convert
-
A convenience wrapper class around Struct to make reading columns easier without knowing their type.
- StructAccessor(Struct) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.StructAccessor
- StructAccessor(Struct, Gson) - Constructor for class com.google.cloud.spring.data.spanner.core.convert.StructAccessor
T
- Table - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Annotation for a
SpannerPersistentEntity
that allows specifying a custom table name, instead of deriving it from the entity's class name. - tableExists(String) - Method in class com.google.cloud.spring.data.spanner.core.admin.SpannerDatabaseAdminTemplate
-
Returns true if the given table name exists in the database currently.
- tableName() - Method in interface com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntity
-
Gets the name of the Cloud Spanner table.
- tableName() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
- TIMESTAMP_DATE_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner timestamp type to
Date
. - TIMESTAMP_INSTANT_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner instantaneous time type to
Instant
. - TIMESTAMP_LOCAL_DATE_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner date type to
LocalDate
. - TIMESTAMP_LOCAL_DATE_TIME_CONVERTER - Static variable in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A converter from the Spanner timestamp type to
LocalDateTime
. - toQueryOptions() - Method in class com.google.cloud.spring.data.spanner.core.SpannerReadOptions
-
In many cases a
SpannerReadOptions
class instance could be compatible withSpannerQueryOptions
. - toTimestamp(Timestamp) - Static method in class com.google.cloud.spring.data.spanner.core.convert.SpannerConverters
-
A utility function to convert a
Timestamp
value to theTimestamp
. - Tx(DatabaseClient) - Constructor for class com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
U
- update(Object) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update an object already in storage.
- update(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- update(Object, String...) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update an object in storage.
- update(Object, String...) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- update(Object, Set<String>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Updates an object and its interleaved child properties in Cloud Spanner.
- update(Object, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- update(Object, Set<String>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update an object in storage.
- update(Object, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- updateAll(Iterable<?>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update objects in batch.
- updateAll(Iterable<?>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- upsert(Object) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update or insert an object into storage.
- upsert(Object) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- upsert(Object, String...) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update or insert an object into storage.
- upsert(Object, String...) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- upsert(Object, Set<String>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerMutationFactory
-
Updates or inserts an object and its interleaved child properties in Cloud Spanner.
- upsert(Object, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerMutationFactoryImpl
- upsert(Object, Set<String>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update or insert an object into storage.
- upsert(Object, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- upsertAll(Iterable<?>) - Method in interface com.google.cloud.spring.data.spanner.core.SpannerOperations
-
Update or insert objects into storage in batch.
- upsertAll(Iterable<?>) - Method in class com.google.cloud.spring.data.spanner.core.SpannerTemplate
- usePropertyAccess() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerCompositeKeyProperty
V
- value() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.PrimaryKey
-
The order of columns that comprise the primary key.
- value() - Element in annotation interface com.google.cloud.spring.data.spanner.core.mapping.Where
-
The where-clause predicate.
- value() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.config.EnableSpannerRepositories
-
Alias for the
EnableSpannerRepositories.basePackages()
attribute. - value() - Element in annotation interface com.google.cloud.spring.data.spanner.repository.query.Query
-
Takes a Cloud Spanner SQL string to define the actual query to be executed.
- verify() - Method in class com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityImpl
W
- Where - Annotation Interface in com.google.cloud.spring.data.spanner.core.mapping
-
Where clause to add to the element Entity or target entity of a collection.
- wrapSimpleLazyProxy(Supplier<T>, Class<T>) - Static method in class com.google.cloud.spring.data.spanner.core.convert.ConversionUtils
- write(JsonWriter, Instant) - Method in class com.google.cloud.spring.data.spanner.core.mapping.typeadapter.InstantTypeAdapter
- write(Object, MultipleValueBinder) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
-
Writes each of the source properties to the sink.
- write(Object, MultipleValueBinder) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
- write(Object, MultipleValueBinder, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityProcessor
- write(Object, MultipleValueBinder, Set<String>) - Method in class com.google.cloud.spring.data.spanner.core.convert.ConverterAwareMappingSpannerEntityWriter
-
Writes an object's properties to the sink.
- write(Object, MultipleValueBinder, Set<String>) - Method in interface com.google.cloud.spring.data.spanner.core.convert.SpannerEntityWriter
-
Writes an object's properties to the sink.
All Classes and Interfaces|All Packages|Serialized Form
SpannerRepositoryFactory.getQueryLookupStrategy(Key, ValueExpressionDelegate)
instead.