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() |
com.google.cloud.Timestamp |
getTimestamp() |
boolean |
hasLimit() |
boolean |
hasOffset() |
boolean |
hasTimestamp() |
SpannerQueryOptions |
setLimit(long limit) |
SpannerQueryOptions |
setOffset(long offset) |
SpannerQueryOptions |
setTimestamp(com.google.cloud.Timestamp timestamp) |
SpannerQueryOptions |
unsetLimit() |
SpannerQueryOptions |
unsetOffset() |
SpannerQueryOptions |
unsetTimestamp() |
public SpannerQueryOptions()
public SpannerQueryOptions addQueryOption(com.google.cloud.spanner.Options.QueryOption queryOption)
public SpannerQueryOptions unsetTimestamp()
public SpannerQueryOptions unsetLimit()
public SpannerQueryOptions unsetOffset()
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()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.