public final class Mod
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 |
---|
Mod() |
Modifier and Type | Method and Description |
---|---|
Mod |
clone() |
List<ModValue> |
getKeys()
Returns the value of the primary key of the modified row.
|
List<ModValue> |
getNewValues()
Returns the new values after the change for the modified columns.
|
List<ModValue> |
getOldValues()
Returns the old values before the change for the modified columns.
|
Mod |
set(String fieldName,
Object value) |
Mod |
setKeys(List<ModValue> keys)
Returns the value of the primary key of the modified row.
|
Mod |
setNewValues(List<ModValue> newValues)
Returns the new values after the change for the modified columns.
|
Mod |
setOldValues(List<ModValue> oldValues)
Returns the old values before the change for the modified columns.
|
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<ModValue> getKeys()
null
for nonepublic Mod setKeys(List<ModValue> keys)
keys
- keys or null
for nonepublic List<ModValue> getNewValues()
null
for nonepublic Mod setNewValues(List<ModValue> newValues)
newValues
- newValues or null
for nonepublic List<ModValue> getOldValues()
null
for nonepublic Mod setOldValues(List<ModValue> oldValues)
oldValues
- oldValues or null
for nonepublic Mod set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Mod clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.