public final class KeyRange
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
KeyRange() |
Modifier and Type | Method and Description |
---|---|
KeyRange |
clone() |
java.util.List<java.lang.Object> |
getEndClosed()
If the end is closed, then the range includes all rows whose first `len(end_closed)` key
columns exactly match `end_closed`.
|
java.util.List<java.lang.Object> |
getEndOpen()
If the end is open, then the range excludes rows whose first `len(end_open)` key columns
exactly match `end_open`.
|
java.util.List<java.lang.Object> |
getStartClosed()
If the start is closed, then the range includes all rows whose first `len(start_closed)` key
columns exactly match `start_closed`.
|
java.util.List<java.lang.Object> |
getStartOpen()
If the start is open, then the range excludes rows whose first `len(start_open)` key columns
exactly match `start_open`.
|
KeyRange |
set(java.lang.String fieldName,
java.lang.Object value) |
KeyRange |
setEndClosed(java.util.List<java.lang.Object> endClosed)
If the end is closed, then the range includes all rows whose first `len(end_closed)` key
columns exactly match `end_closed`.
|
KeyRange |
setEndOpen(java.util.List<java.lang.Object> endOpen)
If the end is open, then the range excludes rows whose first `len(end_open)` key columns
exactly match `end_open`.
|
KeyRange |
setStartClosed(java.util.List<java.lang.Object> startClosed)
If the start is closed, then the range includes all rows whose first `len(start_closed)` key
columns exactly match `start_closed`.
|
KeyRange |
setStartOpen(java.util.List<java.lang.Object> startOpen)
If the start is open, then the range excludes rows whose first `len(start_open)` key columns
exactly match `start_open`.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<java.lang.Object> getEndClosed()
null
for nonepublic KeyRange setEndClosed(java.util.List<java.lang.Object> endClosed)
endClosed
- endClosed or null
for nonepublic java.util.List<java.lang.Object> getEndOpen()
null
for nonepublic KeyRange setEndOpen(java.util.List<java.lang.Object> endOpen)
endOpen
- endOpen or null
for nonepublic java.util.List<java.lang.Object> getStartClosed()
null
for nonepublic KeyRange setStartClosed(java.util.List<java.lang.Object> startClosed)
startClosed
- startClosed or null
for nonepublic java.util.List<java.lang.Object> getStartOpen()
null
for nonepublic KeyRange setStartOpen(java.util.List<java.lang.Object> startOpen)
startOpen
- startOpen or null
for nonepublic KeyRange set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public KeyRange clone()
clone
in class com.google.api.client.json.GenericJson