Package | Description |
---|---|
org.springframework.cloud.gcp.data.spanner.core |
Core support for Spring Data Cloud Spanner.
|
org.springframework.cloud.gcp.data.spanner.repository.query |
Classes related to generated Query Methods in Cloud Spanner support for Spring Data.
|
Modifier and Type | Method and Description |
---|---|
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.addQueryOption(Options.QueryOption queryOption) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setAllowPartialRead(boolean allowPartialRead) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setIncludeProperties(Set<String> includeProperties) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setLimit(Integer limit) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setOffset(Long offset) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setSort(org.springframework.data.domain.Sort sort) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setTimestamp(com.google.cloud.Timestamp timestamp) |
SpannerPageableQueryOptions |
SpannerPageableQueryOptions.setTimestampBound(TimestampBound timestampBound) |
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
SpannerOperations.queryAll(Class<T> entityClass,
SpannerPageableQueryOptions options)
Finds all objects of the given type.
|
<T> List<T> |
SpannerTemplate.queryAll(Class<T> entityClass,
SpannerPageableQueryOptions options) |
Modifier and Type | Method and Description |
---|---|
static <T> String |
SpannerStatementQueryExecutor.applySortingPagingQueryOptions(Class<T> entityClass,
SpannerPageableQueryOptions options,
String sql,
SpannerMappingContext mappingContext,
boolean fetchInterleaved)
Apply paging and sorting options to a query string.
|
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.