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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
KeyRange() |
Modifier and Type | Method and Description |
---|---|
KeyRange |
clone() |
List<Object> |
getEndClosed()
If the end is closed, then the range includes all rows whose first `len(end_closed)` key
columns exactly match `end_closed`.
|
List<Object> |
getEndOpen()
If the end is open, then the range excludes rows whose first `len(end_open)` key columns
exactly match `end_open`.
|
List<Object> |
getStartClosed()
If the start is closed, then the range includes all rows whose first `len(start_closed)` key
columns exactly match `start_closed`.
|
List<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(String fieldName,
Object value) |
KeyRange |
setEndClosed(List<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(List<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(List<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(List<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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Object> getEndClosed()
null
for nonepublic KeyRange setEndClosed(List<Object> endClosed)
endClosed
- endClosed or null
for nonepublic List<Object> getEndOpen()
null
for nonepublic KeyRange setEndOpen(List<Object> endOpen)
endOpen
- endOpen or null
for nonepublic List<Object> getStartClosed()
null
for nonepublic KeyRange setStartClosed(List<Object> startClosed)
startClosed
- startClosed or null
for nonepublic List<Object> getStartOpen()
null
for nonepublic KeyRange setStartOpen(List<Object> startOpen)
startOpen
- startOpen or null
for nonepublic KeyRange set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public KeyRange clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.