public class Update
extends java.lang.Object
| Constructor and Description |
|---|
Update() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getUpdateData() |
Update |
set(java.lang.String key,
java.lang.Object value) |
static Update |
update(java.lang.String key,
java.lang.Object value)
Static factory method to create an Update using the provided key
|
public static Update update(java.lang.String key, java.lang.Object value)
key - the field name for the update operationvalue - the value to set for the fieldpublic Update set(java.lang.String key, java.lang.Object value)
public java.util.Map<java.lang.String,java.lang.Object> getUpdateData()