Class UpdateMultiQuery


  • public class UpdateMultiQuery
    extends RequestMultiple
    Update: { $roots: roots, $query : query, $filter : multi, $action : action } or [ roots, query, multi, action ]
    • Field Detail

      • actions

        protected java.util.List<Action> actions
    • Constructor Detail

      • UpdateMultiQuery

        public UpdateMultiQuery()
    • Method Detail

      • resetActions

        public final UpdateMultiQuery resetActions()
        Returns:
        this Update
      • setMult

        public final UpdateMultiQuery setMult​(boolean mult)
        Parameters:
        mult - True to act on multiple elements, False to act only on 1 element
        Returns:
        this Update
      • setMult

        public final UpdateMultiQuery setMult​(com.fasterxml.jackson.databind.JsonNode filterContent)
        Parameters:
        filterContent - json filter
        Returns:
        this Update
      • getFinalUpdateById

        public final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdateById()
        Returns:
        the Final Update for update one object (by id) containing only 1 part: actions
      • getFinalUpdate

        public final com.fasterxml.jackson.databind.node.ObjectNode getFinalUpdate()
        Returns:
        the Final Update containing all 4 parts: roots, queries array, filter and actions