public class AbstractSpannerRequestOptions<A> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<A> |
requestOptions |
protected Class<A> |
requestOptionType |
Constructor and Description |
---|
AbstractSpannerRequestOptions() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getIncludeProperties() |
A[] |
getOptions() |
com.google.cloud.Timestamp |
getTimestamp() |
TimestampBound |
getTimestampBound() |
boolean |
isAllowPartialRead() |
AbstractSpannerRequestOptions |
setAllowPartialRead(boolean allowPartialRead) |
AbstractSpannerRequestOptions |
setIncludeProperties(Set<String> includeProperties) |
AbstractSpannerRequestOptions |
setTimestamp(com.google.cloud.Timestamp timestamp) |
AbstractSpannerRequestOptions |
setTimestampBound(TimestampBound timestampBound)
Set if this query should be executed with bounded staleness.
|
public AbstractSpannerRequestOptions setIncludeProperties(Set<String> includeProperties)
public TimestampBound getTimestampBound()
public AbstractSpannerRequestOptions setTimestampBound(TimestampBound timestampBound)
timestampBound
- the timestamp bound. Can be exact or bounded staleness.public com.google.cloud.Timestamp getTimestamp()
public AbstractSpannerRequestOptions setTimestamp(com.google.cloud.Timestamp timestamp)
public A[] getOptions()
public boolean isAllowPartialRead()
public AbstractSpannerRequestOptions setAllowPartialRead(boolean allowPartialRead)
Copyright © 2021. All rights reserved.