Package | Description |
---|---|
com.google.cloud.spring.data.spanner.repository |
Spring Data Repositories support in Cloud Spanner.
|
com.google.cloud.spring.data.spanner.repository.support |
Support classes for creating implementations for user-defined Spring Data Cloud Spanner repositories.
|
Modifier and Type | Method and Description |
---|---|
<A> A |
SpannerRepository.performReadOnlyTransaction(Function<SpannerRepository<T,I>,A> operations)
Performs multiple read-only operations in a single transaction.
|
<A> A |
SpannerRepository.performReadWriteTransaction(Function<SpannerRepository<T,I>,A> operations)
Performs multiple read and write operations in a single transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleSpannerRepository<T,I>
The default implementation of a SpannerRepository.
|
Modifier and Type | Method and Description |
---|---|
<A> A |
SimpleSpannerRepository.performReadOnlyTransaction(Function<SpannerRepository<T,I>,A> operations) |
<A> A |
SimpleSpannerRepository.performReadWriteTransaction(Function<SpannerRepository<T,I>,A> operations) |
Copyright © 2021. All rights reserved.