public class SpannerQueryOptions extends Object
| Constructor and Description |
|---|
SpannerQueryOptions()
Constructor to create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
SpannerQueryOptions |
addQueryOption(com.google.cloud.spanner.Options.QueryOption queryOption) |
long |
getLimit() |
long |
getOffset() |
com.google.cloud.spanner.Options.QueryOption[] |
getQueryOptions() |
org.springframework.data.domain.Sort |
getSort() |
com.google.cloud.Timestamp |
getTimestamp() |
boolean |
hasLimit() |
boolean |
hasOffset() |
boolean |
hasTimestamp() |
boolean |
isAllowPartialRead() |
SpannerQueryOptions |
setAllowPartialRead(boolean allowPartialRead) |
SpannerQueryOptions |
setLimit(long limit) |
SpannerQueryOptions |
setOffset(long offset) |
SpannerQueryOptions |
setSort(org.springframework.data.domain.Sort sort) |
SpannerQueryOptions |
setTimestamp(com.google.cloud.Timestamp timestamp) |
SpannerQueryOptions |
unsetLimit() |
SpannerQueryOptions |
unsetOffset() |
SpannerQueryOptions |
unsetSort() |
SpannerQueryOptions |
unsetTimestamp() |
public SpannerQueryOptions()
public SpannerQueryOptions addQueryOption(com.google.cloud.spanner.Options.QueryOption queryOption)
public SpannerQueryOptions unsetTimestamp()
public SpannerQueryOptions unsetLimit()
public SpannerQueryOptions unsetOffset()
public SpannerQueryOptions unsetSort()
public boolean hasTimestamp()
public com.google.cloud.Timestamp getTimestamp()
public SpannerQueryOptions setTimestamp(com.google.cloud.Timestamp timestamp)
public boolean hasLimit()
public long getLimit()
public SpannerQueryOptions setLimit(long limit)
public boolean hasOffset()
public long getOffset()
public SpannerQueryOptions setOffset(long offset)
public com.google.cloud.spanner.Options.QueryOption[] getQueryOptions()
public boolean isAllowPartialRead()
public SpannerQueryOptions setAllowPartialRead(boolean allowPartialRead)
public org.springframework.data.domain.Sort getSort()
public SpannerQueryOptions setSort(org.springframework.data.domain.Sort sort)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.