|
Spring Data Graph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.document.mongodb.query.Update
public class Update
Nested Class Summary | |
---|---|
static class |
Update.Position
|
Constructor Summary | |
---|---|
Update()
|
Method Summary | |
---|---|
Update |
addToSet(String key,
Object value)
Update using the $addToSet update modifier |
protected Object |
convertValueIfNecessary(Object value)
|
DBObject |
getUpdateObject()
|
Update |
inc(String key,
Number inc)
Update using the $inc update modifier |
Update |
pop(String key,
Update.Position pos)
Update using the $pop update modifier |
Update |
pull(String key,
Object value)
Update using the $pull update modifier |
Update |
pullAll(String key,
Object[] values)
Update using the $pullAll update modifier |
Update |
push(String key,
Object value)
Update using the $push update modifier |
Update |
pushAll(String key,
Object[] values)
Update using the $pushAll update modifier |
Update |
rename(String oldName,
String newName)
Update using the $rename update modifier |
Update |
set(String key,
Object value)
Update using the $set update modifier |
Update |
unset(String key)
Update using the $unset update modifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Update()
Method Detail |
---|
public Update set(String key, Object value)
key
- value
-
public Update unset(String key)
key
-
public Update inc(String key, Number inc)
key
- inc
-
public Update push(String key, Object value)
key
- value
-
public Update pushAll(String key, Object[] values)
key
- values
-
public Update addToSet(String key, Object value)
key
- value
-
public Update pop(String key, Update.Position pos)
key
- pos
-
public Update pull(String key, Object value)
key
- value
-
public Update pullAll(String key, Object[] values)
key
- values
-
public Update rename(String oldName, String newName)
oldName
- newName
-
public DBObject getUpdateObject()
protected Object convertValueIfNecessary(Object value)
|
Spring Data Graph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |