Class UnsetOperator
- java.lang.Object
-
- dev.morphia.query.experimental.updates.UpdateOperator
-
- dev.morphia.query.experimental.updates.UnsetOperator
-
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(PathTarget pathTarget)
Creates the OperationTarget for serialization-
Methods inherited from class dev.morphia.query.experimental.updates.UpdateOperator
field, operator, value, value
-
-
-
-
Constructor Detail
-
UnsetOperator
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(PathTarget pathTarget)
Description copied from class:UpdateOperator
Creates the OperationTarget for serialization- Overrides:
toTarget
in classUpdateOperator
- Parameters:
pathTarget
- the PathTarget- Returns:
- the OperationTarget
-
-