|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Update | |
---|---|
org.springframework.data.document.mongodb | MongoDB core support. |
org.springframework.data.document.mongodb.query | MongoDB specific query and update support. |
Uses of Update in org.springframework.data.document.mongodb |
---|
Methods in org.springframework.data.document.mongodb with parameters of type Update | |
---|---|
protected com.mongodb.WriteResult |
MongoTemplate.doUpdate(java.lang.String collectionName,
Query query,
Update update,
java.lang.Class<?> entityClass,
boolean upsert,
boolean multi)
|
com.mongodb.WriteResult |
MongoTemplate.updateFirst(java.lang.Class<?> entityClass,
Query query,
Update update)
|
com.mongodb.WriteResult |
MongoOperations.updateFirst(java.lang.Class<?> entityClass,
Query query,
Update update)
Updates the first object that is found in the default collection that matches the query document with the provided updated document. |
com.mongodb.WriteResult |
MongoTemplate.updateFirst(java.lang.String collectionName,
Query query,
Update update)
|
com.mongodb.WriteResult |
MongoOperations.updateFirst(java.lang.String collectionName,
Query query,
Update update)
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document. |
com.mongodb.WriteResult |
MongoTemplate.updateMulti(java.lang.Class<?> entityClass,
Query query,
Update update)
|
com.mongodb.WriteResult |
MongoOperations.updateMulti(java.lang.Class<?> entityClass,
Query query,
Update update)
Updates all objects that are found in the default collection that matches the query document criteria with the provided updated document. |
com.mongodb.WriteResult |
MongoTemplate.updateMulti(java.lang.String collectionName,
Query query,
Update update)
|
com.mongodb.WriteResult |
MongoOperations.updateMulti(java.lang.String collectionName,
Query query,
Update update)
Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document. |
Uses of Update in org.springframework.data.document.mongodb.query |
---|
Subclasses of Update in org.springframework.data.document.mongodb.query | |
---|---|
class |
BasicUpdate
|
Methods in org.springframework.data.document.mongodb.query that return Update | |
---|---|
Update |
BasicUpdate.addToSet(java.lang.String key,
java.lang.Object value)
|
Update |
Update.addToSet(java.lang.String key,
java.lang.Object value)
Update using the $addToSet update modifier |
Update |
BasicUpdate.inc(java.lang.String key,
java.lang.Number inc)
|
Update |
Update.inc(java.lang.String key,
java.lang.Number inc)
Update using the $inc update modifier |
Update |
BasicUpdate.pop(java.lang.String key,
Update.Position pos)
|
Update |
Update.pop(java.lang.String key,
Update.Position pos)
Update using the $pop update modifier |
Update |
BasicUpdate.pull(java.lang.String key,
java.lang.Object value)
|
Update |
Update.pull(java.lang.String key,
java.lang.Object value)
Update using the $pull update modifier |
Update |
BasicUpdate.pullAll(java.lang.String key,
java.lang.Object[] values)
|
Update |
Update.pullAll(java.lang.String key,
java.lang.Object[] values)
Update using the $pullAll update modifier |
Update |
BasicUpdate.push(java.lang.String key,
java.lang.Object value)
|
Update |
Update.push(java.lang.String key,
java.lang.Object value)
Update using the $push update modifier |
Update |
BasicUpdate.pushAll(java.lang.String key,
java.lang.Object[] values)
|
Update |
Update.pushAll(java.lang.String key,
java.lang.Object[] values)
Update using the $pushAll update modifier |
Update |
BasicUpdate.rename(java.lang.String oldName,
java.lang.String newName)
|
Update |
Update.rename(java.lang.String oldName,
java.lang.String newName)
Update using the $rename update modifier |
Update |
BasicUpdate.set(java.lang.String key,
java.lang.Object value)
|
Update |
Update.set(java.lang.String key,
java.lang.Object value)
Update using the $set update modifier |
Update |
BasicUpdate.unset(java.lang.String key)
|
Update |
Update.unset(java.lang.String key)
Update using the $unset update modifier |
static Update |
Update.update(java.lang.String key,
java.lang.Object value)
Static factory method to create an Update using the provided key |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |