| Package | Description |
|---|---|
| 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.repository.query |
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SpannerCompositeKeyProperty
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.
|
class |
SpannerPersistentPropertyImpl
Represents an implementation for
SpannerPersistentProperty, which is a property of a
SpannerPersistentEntity stored in a Cloud 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[] |
SpannerPersistentEntity.getPrimaryKeyProperties()
Gets the primary key properties in order.
|
SpannerPersistentProperty[] |
SpannerPersistentEntityImpl.getPrimaryKeyProperties() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<SpannerPersistentProperty> |
SpannerPersistentPropertyImpl.createAssociation() |
org.springframework.data.mapping.Association<SpannerPersistentProperty> |
SpannerCompositeKeyProperty.getAssociation() |
List<SpannerPersistentProperty> |
SpannerPersistentEntity.getFlattenedPrimaryKeyProperties()
Gets the primary key properties in order.
|
List<SpannerPersistentProperty> |
SpannerPersistentEntityImpl.getFlattenedPrimaryKeyProperties() |
org.springframework.data.mapping.PersistentEntity<?,SpannerPersistentProperty> |
SpannerCompositeKeyProperty.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpannerPersistentEntityImpl.addPersistentProperty(SpannerPersistentProperty property) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpannerPersistentEntity.doWithColumnBackedProperties(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler)
Applies the given
PropertyHandler to all SpannerPersistentPropertys contained
in this SpannerPersistentProperty that are stored as columns in the table for this
entity. |
void |
SpannerPersistentEntityImpl.doWithColumnBackedProperties(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler) |
void |
SpannerPersistentEntity.doWithInterleavedProperties(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler)
Applies the given
PropertyHandler to all SpannerPersistentPropertys contained
in this SpannerPersistentProperty that are collections of child entities. |
void |
SpannerPersistentEntityImpl.doWithInterleavedProperties(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler) |
| Constructor and Description |
|---|
SpannerCompositeKeyProperty(SpannerPersistentEntity spannerPersistentEntity,
SpannerPersistentProperty[] primaryKeyColumns) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.cloud.spanner.Statement |
SpannerStatementQueryExecutor.getChildrenRowsQuery(com.google.cloud.spanner.Key parentKey,
SpannerPersistentProperty spannerPersistentProperty,
SpannerCustomConverter writeConverter,
SpannerMappingContext mappingContext)
Gets a
Statement that returns the rows associated with a parent entity. |
Copyright © 2023. All rights reserved.