Class DocumentDeleteOptions


public final class DocumentDeleteOptions extends TransactionalOptions<DocumentDeleteOptions>
Author:
Mark Vollmary, Michele Rastelli
  • Constructor Details

    • DocumentDeleteOptions

      public DocumentDeleteOptions()
  • Method Details

    • getWaitForSync

      public Boolean getWaitForSync()
    • waitForSync

      public DocumentDeleteOptions waitForSync(Boolean waitForSync)
      Parameters:
      waitForSync - Wait until deletion operation has been synced to disk.
      Returns:
      options
    • getIfMatch

      public String getIfMatch()
    • ifMatch

      public DocumentDeleteOptions ifMatch(String ifMatch)
      Parameters:
      ifMatch - remove a document based on a target revision
      Returns:
      options
    • getReturnOld

      public Boolean getReturnOld()
    • returnOld

      public DocumentDeleteOptions returnOld(Boolean returnOld)
      Parameters:
      returnOld - Return additionally the complete previous revision of the changed document under the attribute old in the result.
      Returns:
      options
    • getSilent

      public Boolean getSilent()
    • silent

      public DocumentDeleteOptions silent(Boolean silent)
      Parameters:
      silent - If set to true, an empty object will be returned as response. No meta-data will be returned for the created document. This option can be used to save some network traffic.
      Returns:
      options
    • getRefillIndexCaches

      public Boolean getRefillIndexCaches()
    • refillIndexCaches

      public DocumentDeleteOptions refillIndexCaches(Boolean refillIndexCaches)
      Parameters:
      refillIndexCaches - Whether to delete an existing entry from the in-memory edge cache and refill it with another edge if an edge document is removed.
      Returns:
      options
      Since:
      ArangoDB 3.11
    • getIgnoreRevs

      public Boolean getIgnoreRevs()
    • ignoreRevs

      public DocumentDeleteOptions ignoreRevs(Boolean ignoreRevs)
      Parameters:
      ignoreRevs - If set to true, ignore any _rev attribute in the selectors. No revision check is performed. If set to false then revisions are checked. The default is true.
      Returns:
      options