Uses of Interface
com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentProperty
Packages that use SpannerPersistentProperty
Package
Description
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.
-
Uses of SpannerPersistentProperty in com.google.cloud.spring.data.spanner.core.mapping
Classes in com.google.cloud.spring.data.spanner.core.mapping that implement SpannerPersistentPropertyModifier and TypeClassDescriptionclass
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
Represents an implementation forSpannerPersistentProperty
, which is a property of aSpannerPersistentEntity
stored in a Cloud Spanner table.Methods in com.google.cloud.spring.data.spanner.core.mapping that return SpannerPersistentPropertyModifier and TypeMethodDescriptionprotected SpannerPersistentProperty
SpannerMappingContext.createPersistentProperty
(org.springframework.data.mapping.model.Property property, SpannerPersistentEntity<?> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) SpannerPersistentEntity.getPrimaryKeyProperties()
Gets the primary key properties in order.SpannerPersistentEntityImpl.getPrimaryKeyProperties()
Methods in com.google.cloud.spring.data.spanner.core.mapping that return types with arguments of type SpannerPersistentPropertyModifier and TypeMethodDescriptionprotected org.springframework.data.mapping.Association<SpannerPersistentProperty>
SpannerPersistentPropertyImpl.createAssociation()
org.springframework.data.mapping.Association<SpannerPersistentProperty>
SpannerCompositeKeyProperty.getAssociation()
SpannerPersistentEntity.getFlattenedPrimaryKeyProperties()
Gets the primary key properties in order.SpannerPersistentEntityImpl.getFlattenedPrimaryKeyProperties()
org.springframework.data.mapping.PersistentEntity<?,
SpannerPersistentProperty> SpannerCompositeKeyProperty.getOwner()
Methods in com.google.cloud.spring.data.spanner.core.mapping with parameters of type SpannerPersistentPropertyModifier and TypeMethodDescriptionvoid
SpannerPersistentEntityImpl.addPersistentProperty
(SpannerPersistentProperty property) Method parameters in com.google.cloud.spring.data.spanner.core.mapping with type arguments of type SpannerPersistentPropertyModifier and TypeMethodDescriptionvoid
SpannerPersistentEntity.doWithColumnBackedProperties
(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler) Applies the givenPropertyHandler
to allSpannerPersistentProperty
s contained in thisSpannerPersistentProperty
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 givenPropertyHandler
to allSpannerPersistentProperty
s contained in thisSpannerPersistentProperty
that are collections of child entities.void
SpannerPersistentEntityImpl.doWithInterleavedProperties
(org.springframework.data.mapping.PropertyHandler<SpannerPersistentProperty> handler) Constructors in com.google.cloud.spring.data.spanner.core.mapping with parameters of type SpannerPersistentPropertyModifierConstructorDescriptionSpannerCompositeKeyProperty
(SpannerPersistentEntity spannerPersistentEntity, SpannerPersistentProperty[] primaryKeyColumns) -
Uses of SpannerPersistentProperty in com.google.cloud.spring.data.spanner.repository.query
Methods in com.google.cloud.spring.data.spanner.repository.query with parameters of type SpannerPersistentPropertyModifier and TypeMethodDescriptionstatic 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.