Class OperationTarget


  • @MorphiaInternal
    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 Detail

      • OperationTarget

        @MorphiaInternal
        public OperationTarget​(@Nullable
                               dev.morphia.internal.PathTarget target,
                               @Nullable
                               Object value)
        Parameters:
        target - the target
        value - 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

        @MorphiaInternal
        public Object encode​(Datastore datastore)
        Encodes this target
        Parameters:
        datastore - the datastore
        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 dev.morphia.internal.PathTarget getTarget()
        Returns:
        the PathTarget for this instance