Package dev.morphia.query
Class OperationTarget
- java.lang.Object
-
- dev.morphia.query.OperationTarget
-
public class OperationTarget extends Object
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 OperationTarget(PathTarget target, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
encode(Mapper mapper)
Encodes this targetPathTarget
getTarget()
Object
getValue()
String
toString()
-
-
-
Constructor Detail
-
OperationTarget
public OperationTarget(@Nullable PathTarget target, @Nullable Object value)
- Parameters:
target
- the targetvalue
- the value
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Detail
-
encode
public Object encode(Mapper mapper)
Encodes this target- Parameters:
mapper
- the mapper- Returns:
- the encoded form
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
getTarget
@Nullable public PathTarget getTarget()
- Returns:
- the PathTarget for this instance
-
getValue
@Nullable public Object getValue()
- Returns:
- the value
-
-