public class VertexUpdateOptions extends Object
Constructor and Description |
---|
VertexUpdateOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getIfMatch() |
Boolean |
getKeepNull() |
String |
getStreamTransactionId() |
Boolean |
getWaitForSync() |
VertexUpdateOptions |
ifMatch(String ifMatch) |
VertexUpdateOptions |
keepNull(Boolean keepNull) |
VertexUpdateOptions |
streamTransactionId(String streamTransactionId) |
VertexUpdateOptions |
waitForSync(Boolean waitForSync) |
public Boolean getKeepNull()
public VertexUpdateOptions keepNull(Boolean keepNull)
keepNull
- If the intention is to delete existing attributes with the patch command, the URL query parameter
keepNull can be used with a value of false. This will modify the behavior of the patch command to
remove any attributes from the existing document that are contained in the patch document with an
attribute value of null.public Boolean getWaitForSync()
public VertexUpdateOptions waitForSync(Boolean waitForSync)
waitForSync
- Wait until document has been synced to disk.public String getIfMatch()
public VertexUpdateOptions ifMatch(String ifMatch)
ifMatch
- replace a document based on target revisionpublic String getStreamTransactionId()
public VertexUpdateOptions streamTransactionId(String streamTransactionId)
streamTransactionId
- If set, the operation will be executed within the transaction.Copyright © 2016–2020 ArangoDB GmbH. All rights reserved.