Uses of Class
com.google.cloud.spring.data.spanner.core.mapping.SpannerMappingContext
Package
Description
Auto-configuration for Spring Data Cloud Spanner module.
Core support for Spring Data Cloud Spanner.
Cloud Spanner database administrative functions and template classes.
Classes related to conversion of data and mapping of entities in Cloud Spanner support for Spring
Data.
Classes related to type and Spring Data metadata in Cloud Spanner support for Spring Data.
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
Support classes for creating implementations for user-defined Spring Data Cloud Spanner
repositories.
-
Uses of SpannerMappingContext in com.google.cloud.spring.autoconfigure.spanner
-
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.core
ModifierConstructorDescriptionSpannerMutationFactoryImpl
(SpannerEntityProcessor spannerEntityProcessor, SpannerMappingContext spannerMappingContext, SpannerSchemaUtils spannerSchemaUtils) Constructor.SpannerTemplate
(Supplier<com.google.cloud.spanner.DatabaseClient> databaseClientProvider, SpannerMappingContext mappingContext, SpannerEntityProcessor spannerEntityProcessor, SpannerMutationFactory spannerMutationFactory, SpannerSchemaUtils spannerSchemaUtils) -
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.core.admin
ModifierConstructorDescriptionSpannerSchemaUtils
(SpannerMappingContext mappingContext, SpannerEntityProcessor spannerEntityProcessor, boolean createInterleavedTableDdlOnDeleteCascade) Constructor. -
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.core.convert
ModifierConstructorDescriptionConverterAwareMappingSpannerEntityProcessor
(SpannerMappingContext spannerMappingContext) ConverterAwareMappingSpannerEntityProcessor
(SpannerMappingContext spannerMappingContext, Collection<org.springframework.core.convert.converter.Converter> writeConverters, Collection<org.springframework.core.convert.converter.Converter> readConverters) -
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.core.mapping
Modifier and TypeMethodDescriptionSpannerPersistentEntity.getSpannerMappingContext()
Gets the SpannerMappingContext that can be used to create persistent entities of types that appear as properties of this entity.SpannerPersistentEntityImpl.getSpannerMappingContext()
ModifierConstructorDescriptionSpannerPersistentEntityImpl
(org.springframework.data.util.TypeInformation<T> information, SpannerMappingContext spannerMappingContext, SpannerEntityProcessor spannerEntityProcessor) Creates aSpannerPersistentEntityImpl
. -
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.repository.query
Modifier and TypeFieldDescriptionprotected final SpannerMappingContext
AbstractSpannerQuery.spannerMappingContext
protected final SpannerMappingContext
AbstractSpannerQuery.spannerMappingContext
Modifier and TypeMethodDescriptionstatic <T> String
SpannerStatementQueryExecutor.applySortingPagingQueryOptions
(Class<T> entityClass, SpannerPageableQueryOptions options, String sql, SpannerMappingContext mappingContext, boolean fetchInterleaved) Apply paging and sorting options to a query string.static <T> com.google.cloud.spanner.Statement
SpannerStatementQueryExecutor.buildQuery
(com.google.cloud.spanner.KeySet keySet, SpannerPersistentEntity<T> persistentEntity, SpannerCustomConverter writeConverter, SpannerMappingContext mappingContext) Builds a query that returns the rows associated with a key set.static <T> com.google.cloud.spanner.Statement
SpannerStatementQueryExecutor.buildQuery
(com.google.cloud.spanner.KeySet keySet, SpannerPersistentEntity<T> persistentEntity, SpannerCustomConverter writeConverter, SpannerMappingContext mappingContext, String whereClause) Builds a query that returns the rows associated with a key set with additional SQL-where.static <T> com.google.cloud.spanner.Statement
SpannerStatementQueryExecutor.buildQuery
(com.google.cloud.spanner.KeySet keySet, SpannerPersistentEntity<T> persistentEntity, SpannerCustomConverter writeConverter, SpannerMappingContext mappingContext, String whereClause, String index) Builds a query that returns the rows associated with a key set with additional SQL-where.static <T> List<T>
SpannerStatementQueryExecutor.executeQuery
(Class<T> type, org.springframework.data.repository.query.parser.PartTree tree, org.springframework.data.repository.query.ParameterAccessor parameterAccessor, Parameter[] queryMethodParamsMetadata, SpannerTemplate spannerTemplate, SpannerMappingContext spannerMappingContext) Executes a PartTree-based query.static <A,
T> List<A> SpannerStatementQueryExecutor.executeQuery
(Function<com.google.cloud.spanner.Struct, A> rowFunc, Class<T> type, org.springframework.data.repository.query.parser.PartTree tree, org.springframework.data.repository.query.ParameterAccessor parameterAccessor, Parameter[] queryMethodParamsMetadata, SpannerTemplate spannerTemplate, SpannerMappingContext spannerMappingContext) Executes a PartTree-based query and applies a custom row-mapping function to the result.static com.google.cloud.spanner.Statement
SpannerStatementQueryExecutor.getChildrenRowsQuery
(com.google.cloud.spanner.Key parentKey, SpannerPersistentProperty spannerPersistentProperty, SpannerCustomConverter writeConverter, SpannerMappingContext mappingContext) Gets aStatement
that returns the rows associated with a parent entity.static String
SpannerStatementQueryExecutor.getColumnsStringForSelect
(SpannerPersistentEntity<?> spannerPersistentEntity, SpannerMappingContext mappingContext, boolean fetchInterleaved) ModifierConstructorDescriptionPartTreeSpannerQuery
(Class<T> type, SpannerQueryMethod queryMethod, SpannerTemplate spannerTemplate, SpannerMappingContext spannerMappingContext) Constructor.SpannerQueryLookupStrategy
(SpannerMappingContext spannerMappingContext, SpannerTemplate spannerTemplate, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider, org.springframework.expression.spel.standard.SpelExpressionParser expressionParser) -
Uses of SpannerMappingContext in com.google.cloud.spring.data.spanner.repository.support
Modifier and TypeMethodDescriptionvoid
SpannerRepositoryFactoryBean.setSpannerMappingContext
(SpannerMappingContext mappingContext)