public final class PartitionReadRequest
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 |
---|
PartitionReadRequest() |
Modifier and Type | Method and Description |
---|---|
PartitionReadRequest |
clone() |
List<String> |
getColumns()
The columns of table to be returned for each row matching this request.
|
String |
getIndex()
If non-empty, the name of an index on table.
|
KeySet |
getKeySet()
Required.
|
PartitionOptions |
getPartitionOptions()
Additional options that affect how many partitions are created.
|
String |
getTable()
Required.
|
TransactionSelector |
getTransaction()
Read only snapshot transactions are supported, read/write and single use transactions are not.
|
PartitionReadRequest |
set(String fieldName,
Object value) |
PartitionReadRequest |
setColumns(List<String> columns)
The columns of table to be returned for each row matching this request.
|
PartitionReadRequest |
setIndex(String index)
If non-empty, the name of an index on table.
|
PartitionReadRequest |
setKeySet(KeySet keySet)
Required.
|
PartitionReadRequest |
setPartitionOptions(PartitionOptions partitionOptions)
Additional options that affect how many partitions are created.
|
PartitionReadRequest |
setTable(String table)
Required.
|
PartitionReadRequest |
setTransaction(TransactionSelector transaction)
Read only snapshot transactions are supported, read/write and single use transactions are not.
|
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<String> getColumns()
null
for nonepublic PartitionReadRequest setColumns(List<String> columns)
columns
- columns or null
for nonepublic String getIndex()
null
for nonepublic PartitionReadRequest setIndex(String index)
index
- index or null
for nonepublic KeySet getKeySet()
null
for nonepublic PartitionReadRequest setKeySet(KeySet keySet)
keySet
- keySet or null
for nonepublic PartitionOptions getPartitionOptions()
null
for nonepublic PartitionReadRequest setPartitionOptions(PartitionOptions partitionOptions)
partitionOptions
- partitionOptions or null
for nonepublic String getTable()
null
for nonepublic PartitionReadRequest setTable(String table)
table
- table or null
for nonepublic TransactionSelector getTransaction()
null
for nonepublic PartitionReadRequest setTransaction(TransactionSelector transaction)
transaction
- transaction or null
for nonepublic PartitionReadRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PartitionReadRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.