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

        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

        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

        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

        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)