| 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 <T> com.google.cloud.spanner.Statement |
SpannerStatementQueryExecutor.getChildrenRowsQuery(com.google.cloud.spanner.Key parentKey,
SpannerPersistentEntity<T> childPersistentEntity)
Gets a query that returns the rows associated with a parent entity.
|
static String |
SpannerStatementQueryExecutor.getColumnsStringForSelect(SpannerPersistentEntity spannerPersistentEntity) |
| 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 © 2019 Pivotal Software, Inc.. All rights reserved.