Modifier and Type | Class and Description |
---|---|
class |
SpannerTemplate |
Modifier and Type | Method and Description |
---|---|
<T> T |
SpannerTemplate.performReadOnlyTransaction(Function<SpannerOperations,T> operations,
SpannerReadOptions readOptions) |
<T> T |
SpannerOperations.performReadOnlyTransaction(Function<SpannerOperations,T> operations,
SpannerReadOptions readOptions)
Performs multiple read-only operations in a single transaction.
|
<T> T |
SpannerTemplate.performReadWriteTransaction(Function<SpannerOperations,T> operations) |
<T> T |
SpannerOperations.performReadWriteTransaction(Function<SpannerOperations,T> operations)
Performs multiple read and write operations in a single transaction.
|
Modifier and Type | Method and Description |
---|---|
SpannerOperations |
SpannerRepository.getSpannerOperations()
Gets a
SpannerOperations , which allows more-direct access to Google Spanner
functions. |
Modifier and Type | Method and Description |
---|---|
static Object |
SpannerStatementQueryExecutor.executeQuery(Class type,
org.springframework.data.repository.query.parser.PartTree tree,
Object[] params,
SpannerOperations spannerOperations,
SpannerMappingContext spannerMappingContext)
Executes a PartTree-based query.
|
Constructor and Description |
---|
PartTreeSpannerQuery(Class type,
org.springframework.data.repository.query.QueryMethod queryMethod,
SpannerOperations spannerOperations,
SpannerMappingContext spannerMappingContext)
Constructor
|
SpannerQueryLookupStrategy(SpannerMappingContext spannerMappingContext,
SpannerOperations spannerOperations,
org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider,
org.springframework.expression.spel.standard.SpelExpressionParser expressionParser) |
SqlSpannerQuery(Class type,
org.springframework.data.repository.query.QueryMethod queryMethod,
SpannerOperations spannerOperations,
String sql,
org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider,
org.springframework.expression.spel.standard.SpelExpressionParser expressionParser,
SpannerMappingContext spannerMappingContext) |
Modifier and Type | Method and Description |
---|---|
SpannerOperations |
SimpleSpannerRepository.getSpannerOperations() |
Modifier and Type | Method and Description |
---|---|
void |
SpannerRepositoryFactoryBean.setSpannerTemplate(SpannerOperations operations) |
Constructor and Description |
---|
SimpleSpannerRepository(SpannerOperations spannerOperations,
Class entityType) |
SpannerRepositoryFactory(SpannerMappingContext spannerMappingContext,
SpannerOperations spannerOperations)
Constructor
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.