| Package | Description |
|---|---|
| org.springframework.cloud.gcp.data.spanner.core.mapping | |
| org.springframework.cloud.gcp.data.spanner.repository.query |
| Modifier and Type | Class and Description |
|---|---|
class |
SpannerCompositeKeyProperty
Represents an persistent property just to represent Spanner primary keys, and does not
correspond to actual properties of POJOs, as it might even be a composite, multi-column key.
|
class |
SpannerPersistentPropertyImpl
Represents an implementation for
SpannerPersistentProperty, which is a property
of a SpannerPersistentEntity stored in a Google Spanner table. |
| 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) |
SpannerPersistentProperty |
SpannerPersistentEntityImpl.getIdProperty() |
SpannerPersistentProperty[] |
SpannerPersistentEntityImpl.getPrimaryKeyProperties() |
SpannerPersistentProperty[] |
SpannerPersistentEntity.getPrimaryKeyProperties()
Gets the primary key properties in order.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<SpannerPersistentProperty> |
SpannerPersistentPropertyImpl.createAssociation() |
org.springframework.data.mapping.Association<SpannerPersistentProperty> |
SpannerCompositeKeyProperty.getAssociation() |
org.springframework.data.mapping.PersistentEntity<?,SpannerPersistentProperty> |
SpannerCompositeKeyProperty.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpannerPersistentEntityImpl.addPersistentProperty(SpannerPersistentProperty property) |
| Constructor and Description |
|---|
SpannerCompositeKeyProperty(SpannerPersistentEntity spannerPersistentEntity,
SpannerPersistentProperty[] primaryKeyColumns) |
| 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 © 2018 Pivotal Software, Inc.. All rights reserved.