Package dev.morphia.query.updates
Class UnsetOperator
- java.lang.Object
-
- dev.morphia.query.updates.UpdateOperator
-
- dev.morphia.query.updates.UnsetOperator
-
@MorphiaInternal public class UnsetOperator extends UpdateOperator
- Since:
- 2.0
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description UnsetOperator(String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationTarget
toTarget(dev.morphia.internal.PathTarget pathTarget)
Creates the OperationTarget for serialization
-
-
-
Constructor Detail
-
UnsetOperator
@MorphiaInternal public UnsetOperator(String field)
- Parameters:
field
- the field
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Detail
-
toTarget
public OperationTarget toTarget(dev.morphia.internal.PathTarget pathTarget)
Description copied from class:UpdateOperator
Creates the OperationTarget for serialization- Overrides:
toTarget
in classUpdateOperator
- Parameters:
pathTarget
- the PathTarget- Returns:
- the OperationTarget
-
-