public class DocumentDeleteOptions extends Object
Constructor and Description |
---|
DocumentDeleteOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getIfMatch() |
Boolean |
getReturnOld() |
Boolean |
getSilent() |
Boolean |
getWaitForSync() |
DocumentDeleteOptions |
ifMatch(String ifMatch) |
DocumentDeleteOptions |
returnOld(Boolean returnOld) |
DocumentDeleteOptions |
silent(Boolean silent) |
DocumentDeleteOptions |
waitForSync(Boolean waitForSync) |
public Boolean getWaitForSync()
public DocumentDeleteOptions waitForSync(Boolean waitForSync)
waitForSync
- Wait until deletion operation has been synced to disk.public String getIfMatch()
public DocumentDeleteOptions ifMatch(String ifMatch)
ifMatch
- remove a document based on a target revisionpublic Boolean getReturnOld()
public DocumentDeleteOptions returnOld(Boolean returnOld)
returnOld
- Return additionally the complete previous revision of the changed document under the attribute old in
the result.public Boolean getSilent()
public DocumentDeleteOptions silent(Boolean silent)
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.Copyright © 2016–2019 ArangoDB GmbH. All rights reserved.