Package com.arangodb.model
Class VertexUpdateOptions
- java.lang.Object
-
- com.arangodb.model.TransactionalOptions<VertexUpdateOptions>
-
- com.arangodb.model.VertexUpdateOptions
-
public final class VertexUpdateOptions extends TransactionalOptions<VertexUpdateOptions>
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description VertexUpdateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIfMatch()
Boolean
getKeepNull()
Boolean
getWaitForSync()
VertexUpdateOptions
ifMatch(String ifMatch)
VertexUpdateOptions
keepNull(Boolean keepNull)
VertexUpdateOptions
waitForSync(Boolean waitForSync)
-
Methods inherited from class com.arangodb.model.TransactionalOptions
getStreamTransactionId, streamTransactionId
-
-
-
-
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
-
-