public class UpdateOp extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateOp.Operation
A MongoDB operation for a given key within a document.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getIncrement(String property) |
UpdateOp |
getReverseOperation() |
void |
removeMapEntry(String property,
String subName)
Remove a map entry.
|
void |
setMap(String property,
String subName,
Object value)
Set a map to a single key-value pair.
|
String |
toString() |
public void removeMapEntry(String property, String subName)
property - the propertysubName - the entry namepublic void setMap(String property, String subName, Object value)
property - the propertysubName - the entry namevalue - the valuepublic UpdateOp getReverseOperation()
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.