| 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.repository.query |
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SpannerReadConverter
A custom converter used for reading from Spanner data types.
|
class |
SpannerWriteConverter
A custom converter for writing values from entities to types for Spanner.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ConverterAwareMappingSpannerEntityWriter.attemptBindSingleValue(Object propertyValue,
Class<?> propertyType,
com.google.cloud.spanner.ValueBinder valueBinder,
SpannerCustomConverter spannerCustomConverter)
Bind a value to a ValueBinder.
|
static boolean |
ConverterAwareMappingSpannerEntityWriter.attemptSetIterableValueOnBinder(Iterable<Object> value,
com.google.cloud.spanner.ValueBinder valueBinder,
SpannerCustomConverter writeConverter,
Class innerType)
Bind an iterable value to a ValueBinder.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.cloud.spanner.Statement |
SpannerStatementQueryExecutor.buildStatementFromSqlWithArgs(String sql,
List<String> tags,
Function<Object,com.google.cloud.spanner.Struct> paramStructConvertFunc,
SpannerCustomConverter spannerCustomConverter,
Object[] params,
Map<String,Parameter> queryMethodParams)
Creates a Cloud Spanner statement.
|
static <T> com.google.cloud.spanner.Statement |
SpannerStatementQueryExecutor.getChildrenRowsQuery(com.google.cloud.spanner.Key parentKey,
SpannerPersistentEntity<T> childPersistentEntity,
SpannerCustomConverter writeConverter)
Gets a query that returns the rows associated with a parent entity.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.