public class DocumentDeleteOptions extends Object
Constructor and Description |
---|
DocumentDeleteOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getIfMatch() |
Boolean |
getReturnOld() |
Boolean |
getSilent() |
String |
getStreamTransactionId() |
Boolean |
getWaitForSync() |
DocumentDeleteOptions |
ifMatch(String ifMatch) |
DocumentDeleteOptions |
returnOld(Boolean returnOld) |
DocumentDeleteOptions |
silent(Boolean silent) |
DocumentDeleteOptions |
streamTransactionId(String streamTransactionId) |
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.public String getStreamTransactionId()
public DocumentDeleteOptions streamTransactionId(String streamTransactionId)
streamTransactionId
- If set, the operation will be executed within the transaction.Copyright © 2016–2020 ArangoDB GmbH. All rights reserved.