Package | Description |
---|---|
org.springframework.cloud.gcp.data.spanner.core |
Core support for Spring Data Cloud Spanner.
|
org.springframework.cloud.gcp.data.spanner.core.mapping.event |
Modifier and Type | Method and Description |
---|---|
SpannerReadOptions |
SpannerReadOptions.addReadOption(Options.ReadOption readOption) |
SpannerReadOptions |
SpannerReadOptions.setAllowPartialRead(boolean allowPartialRead) |
SpannerReadOptions |
SpannerReadOptions.setIncludeProperties(Set<String> includeProperties) |
SpannerReadOptions |
SpannerReadOptions.setIndex(String index) |
SpannerReadOptions |
SpannerReadOptions.setTimestamp(com.google.cloud.Timestamp timestamp) |
SpannerReadOptions |
SpannerReadOptions.setTimestampBound(TimestampBound timestampBound) |
Modifier and Type | Method and Description |
---|---|
<T> T |
SpannerOperations.performReadOnlyTransaction(Function<SpannerTemplate,T> operations,
SpannerReadOptions readOptions)
Performs multiple read-only operations in a single transaction.
|
<T> T |
SpannerTemplate.performReadOnlyTransaction(Function<SpannerTemplate,T> operations,
SpannerReadOptions readOptions) |
<T> List<T> |
SpannerOperations.read(Class<T> entityClass,
KeySet keys,
SpannerReadOptions options)
Finds objects stored from their keys.
|
<T> List<T> |
SpannerTemplate.read(Class<T> entityClass,
KeySet keys,
SpannerReadOptions options) |
<T> T |
SpannerOperations.read(Class<T> entityClass,
Key key,
SpannerReadOptions options)
Finds a single stored object using a key.
|
<T> T |
SpannerTemplate.read(Class<T> entityClass,
Key key,
SpannerReadOptions options) |
<T> List<T> |
SpannerOperations.readAll(Class<T> entityClass,
SpannerReadOptions options)
Finds all objects of the given type.
|
<T> List<T> |
SpannerTemplate.readAll(Class<T> entityClass,
SpannerReadOptions options) |
Modifier and Type | Method and Description |
---|---|
SpannerReadOptions |
AfterReadEvent.getSpannerReadOptions()
Get the options that were used to conduct the read.
|
Constructor and Description |
---|
AfterReadEvent(Iterable source,
KeySet keySet,
SpannerReadOptions spannerReadOptions)
Constructor.
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.