Package com.arangodb.model
Class VertexUpdateOptions
- java.lang.Object
-
- com.arangodb.model.VertexUpdateOptions
-
public final class VertexUpdateOptions extends Object
- Author:
- Mark Vollmary
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description VertexUpdateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getKeepNull
public Boolean getKeepNull()
-
keepNull
public VertexUpdateOptions keepNull(Boolean keepNull)
- Parameters:
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.- Returns:
- options
-
getWaitForSync
public Boolean getWaitForSync()
-
waitForSync
public VertexUpdateOptions waitForSync(Boolean waitForSync)
- Parameters:
waitForSync
- Wait until document has been synced to disk.- Returns:
- options
-
getIfMatch
public String getIfMatch()
-
ifMatch
public VertexUpdateOptions ifMatch(String ifMatch)
- Parameters:
ifMatch
- replace a document based on target revision- Returns:
- options
-
getStreamTransactionId
public String getStreamTransactionId()
-
streamTransactionId
public VertexUpdateOptions streamTransactionId(String streamTransactionId)
- Parameters:
streamTransactionId
- If set, the operation will be executed within the transaction.- Returns:
- options
- Since:
- ArangoDB 3.5.1
-
-