Package dev.morphia.query
Class Modify<T>
- java.lang.Object
-
- dev.morphia.query.UpdateBase<T>
-
- dev.morphia.query.Modify<T>
-
- Type Parameters:
T
- the entity type
public class Modify<T> extends UpdateBase<T>
Represents a modify operation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
execute()
Performs the operationT
execute(ModifyOptions options)
Performs the operation-
Methods inherited from class dev.morphia.query.UpdateBase
add, getCollection, getDatastore, getQuery, getUpdates, toDocument, toString
-
-
-
-
Method Detail
-
execute
@Nullable public T execute()
Performs the operation- Returns:
- the operation result
-
execute
@Nullable public T execute(ModifyOptions options)
Performs the operation- Parameters:
options
- the options to apply- Returns:
- the operation result
-
-