public class Delete extends RequestSingle
Delete: { $query : query, $filter : multi } or [ query, multi ]
  • Constructor Details

    • Delete

      public Delete()
  • Method Details

    • setMult

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

      public final Delete setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
      Parameters:
      filterContent - json filter
      Returns:
      this Delete
    • setFilter

      public final Delete setFilter(com.fasterxml.jackson.databind.JsonNode filterContent) throws InvalidParseOperationException
      Overrides:
      setFilter in class AbstractRequest
      Parameters:
      filterContent - json filter
      Returns:
      this Delete
      Throws:
      InvalidParseOperationException - if filter invalid
    • getFinalDelete

      public final com.fasterxml.jackson.databind.node.ObjectNode getFinalDelete()
      Returns:
      the Final Delete containing all 2 parts: queries array and filter
    • toString

      public String toString()
      Overrides:
      toString in class RequestSingle