Package | Description |
---|---|
org.springframework.cloud.gcp.data.spanner.core.mapping |
Classes related to type and Spring Data metadata in Cloud Spanner support for Spring Data.
|
org.springframework.cloud.gcp.data.spanner.repository.query |
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
|
Modifier and Type | Class and Description |
---|---|
class |
SpannerPersistentEntityImpl<T>
Represents a Cloud Spanner table and its columns' mapping to fields within an entity
type.
|
Modifier and Type | Method and Description |
---|---|
protected <T> SpannerPersistentEntity<T> |
SpannerMappingContext.createPersistentEntity(org.springframework.data.util.TypeInformation<T> typeInformation) |
Modifier and Type | Method and Description |
---|---|
protected SpannerPersistentProperty |
SpannerMappingContext.createPersistentProperty(org.springframework.data.mapping.model.Property property,
SpannerPersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
Constructor and Description |
---|
SpannerCompositeKeyProperty(SpannerPersistentEntity spannerPersistentEntity,
SpannerPersistentProperty[] primaryKeyColumns) |
SpannerPersistentEntityInformation(SpannerPersistentEntity<T> entity)
Creates a new
SpannerPersistentEntityInformation for the given
SpannerPersistentEntity . |
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
SpannerStatementQueryExecutor.applySort(org.springframework.data.domain.Sort sort,
StringBuilder sql,
SpannerPersistentEntity<?> persistentEntity) |
static <T> Statement |
SpannerStatementQueryExecutor.buildQuery(KeySet keySet,
SpannerPersistentEntity<T> persistentEntity,
SpannerCustomConverter writeConverter,
SpannerMappingContext mappingContext)
Builds a query that returns the rows associated with a key set.
|
static <T> Statement |
SpannerStatementQueryExecutor.buildQuery(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> Statement |
SpannerStatementQueryExecutor.buildQuery(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 String |
SpannerStatementQueryExecutor.buildWhere(SpannerPersistentEntity<?> entity)
Builds an SQL where clause for the persistent entity.
|
static String |
SpannerStatementQueryExecutor.getColumnsStringForSelect(SpannerPersistentEntity<?> spannerPersistentEntity,
SpannerMappingContext mappingContext,
boolean fetchInterleaved) |
Constructor and Description |
---|
SpannerQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory,
org.springframework.data.mapping.context.MappingContext<? extends SpannerPersistentEntity<?>,SpannerPersistentProperty> mappingContext)
Creates a new
QueryMethod from the given parameters. |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.