Package | Description |
---|---|
org.mongodb.morphia | |
org.mongodb.morphia.dao |
Modifier and Type | Method and Description |
---|---|
<T> UpdateResults |
Datastore.update(Key<T> key,
UpdateOperations<T> ops)
updates the entity with the operations; this is an atomic operation
|
<T> UpdateResults |
DatastoreImpl.update(Key<T> key,
UpdateOperations<T> ops) |
<T> UpdateResults |
Datastore.update(Query<T> query,
UpdateOperations<T> ops)
updates all entities found with the operations; this is an atomic operation per entity
|
<T> UpdateResults |
DatastoreImpl.update(Query<T> query,
UpdateOperations<T> ops) |
<T> UpdateResults |
Datastore.update(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing)
updates all entities found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true; this
is an atomic operation per entity
|
<T> UpdateResults |
DatastoreImpl.update(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing) |
<T> UpdateResults |
Datastore.update(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing,
com.mongodb.WriteConcern wc) |
<T> UpdateResults |
DatastoreImpl.update(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing,
com.mongodb.WriteConcern wc) |
<T> UpdateResults |
Datastore.update(T ent,
UpdateOperations<T> ops)
updates the entity with the operations; this is an atomic operation
|
<T> UpdateResults |
DatastoreImpl.update(T ent,
UpdateOperations<T> ops) |
<T> UpdateResults |
Datastore.updateFirst(Query<T> query,
T entity,
boolean createIfMissing)
updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true;
this is an atomic operation per entity
|
<T> UpdateResults |
DatastoreImpl.updateFirst(Query<T> query,
T entity,
boolean createIfMissing) |
<T> UpdateResults |
Datastore.updateFirst(Query<T> query,
UpdateOperations<T> ops)
updates the first entity found with the operations; this is an atomic operation
|
<T> UpdateResults |
DatastoreImpl.updateFirst(Query<T> query,
UpdateOperations<T> ops) |
<T> UpdateResults |
Datastore.updateFirst(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing)
updates the first entity found with the operations, if nothing is found insert the update as an entity if "createIfMissing" is true;
this is an atomic operation per entity
|
<T> UpdateResults |
DatastoreImpl.updateFirst(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing) |
<T> UpdateResults |
Datastore.updateFirst(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing,
com.mongodb.WriteConcern wc) |
<T> UpdateResults |
DatastoreImpl.updateFirst(Query<T> query,
UpdateOperations<T> ops,
boolean createIfMissing,
com.mongodb.WriteConcern wc) |
Modifier and Type | Method and Description |
---|---|
UpdateResults |
BasicDAO.update(Query<T> q,
UpdateOperations<T> ops) |
UpdateResults |
DAO.update(Query<T> q,
UpdateOperations<T> ops)
Updates all entities matched by the constraints with the modifiers supplied.
|
UpdateResults |
BasicDAO.updateFirst(Query<T> q,
UpdateOperations<T> ops) |
UpdateResults |
DAO.updateFirst(Query<T> q,
UpdateOperations<T> ops)
Updates the first entity matched by the constraints with the modifiers supplied.
|
Copyright © 2016. All rights reserved.