| Package | Description |
|---|---|
| org.springframework.cloud.gcp.data.spanner.core.convert |
Classes related to conversion of data and mapping of entities in Cloud Spanner support for Spring Data.
|
| org.springframework.cloud.gcp.data.spanner.core.mapping |
Classes related to type and Spring Data metadata in Cloud Spanner support for Spring Data.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpannerEntityProcessor
Interface for processors that can populate fields from Spanner Structs and write them
to Spanner Mutations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConverterAwareMappingSpannerEntityProcessor
The primary class for writing entity objects to Spanner and creating entity objects
from rows stored in Spanner.
|
class |
ConverterAwareMappingSpannerEntityWriter
The primary class for adding values from entity objects to
Mutation.WriteBuilder for
the purpose of creating mutations for Spanner. |
| Modifier and Type | Method and Description |
|---|---|
SpannerEntityWriter |
SpannerPersistentEntityImpl.getSpannerEntityWriter() |
SpannerEntityWriter |
SpannerPersistentEntity.getSpannerEntityWriter()
Gets a SpannerEntityWriter that can be used to create Cloud Spanner keys from one or
more persistent properties.
|
| Constructor and Description |
|---|
SpannerPersistentEntityImpl(org.springframework.data.util.TypeInformation<T> information,
SpannerMappingContext spannerMappingContext,
SpannerEntityWriter spannerEntityWriter)
Creates a
SpannerPersistentEntityImpl. |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.