Class UpdateOperator

    • Constructor Detail

      • UpdateOperator

        protected UpdateOperator​(String operator,
                                 String field,
                                 Object value)
      • UpdateOperator

        protected UpdateOperator​(String operator,
                                 String field,
                                 List<?> values)
    • Method Detail

      • field

        @MorphiaInternal
        public String field()
        Returns:
        the field
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • operator

        @MorphiaInternal
        public String operator()
        Returns:
        the operator
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • toTarget

        @MorphiaInternal
        public OperationTarget toTarget​(dev.morphia.internal.PathTarget pathTarget)
        Creates the OperationTarget for serialization
        Parameters:
        pathTarget - the PathTarget
        Returns:
        the OperationTarget
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • value

        @MorphiaInternal
        public Object value()
        Returns:
        the value
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • value

        protected void value​(Object value)