public final class BatchWriteRequest
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 |
---|
BatchWriteRequest() |
Modifier and Type | Method and Description |
---|---|
BatchWriteRequest |
clone() |
Boolean |
getExcludeTxnFromChangeStreams()
Optional.
|
List<MutationGroup> |
getMutationGroups()
Required.
|
RequestOptions |
getRequestOptions()
Common options for this request.
|
BatchWriteRequest |
set(String fieldName,
Object value) |
BatchWriteRequest |
setExcludeTxnFromChangeStreams(Boolean excludeTxnFromChangeStreams)
Optional.
|
BatchWriteRequest |
setMutationGroups(List<MutationGroup> mutationGroups)
Required.
|
BatchWriteRequest |
setRequestOptions(RequestOptions requestOptions)
Common options for this request.
|
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 Boolean getExcludeTxnFromChangeStreams()
null
for nonepublic BatchWriteRequest setExcludeTxnFromChangeStreams(Boolean excludeTxnFromChangeStreams)
excludeTxnFromChangeStreams
- excludeTxnFromChangeStreams or null
for nonepublic List<MutationGroup> getMutationGroups()
null
for nonepublic BatchWriteRequest setMutationGroups(List<MutationGroup> mutationGroups)
mutationGroups
- mutationGroups or null
for nonepublic RequestOptions getRequestOptions()
null
for nonepublic BatchWriteRequest setRequestOptions(RequestOptions requestOptions)
requestOptions
- requestOptions or null
for nonepublic BatchWriteRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BatchWriteRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.