Package com.arangodb.model
Class EdgeUpdateOptions
- java.lang.Object
-
- com.arangodb.model.TransactionalOptions<EdgeUpdateOptions>
-
- com.arangodb.model.EdgeUpdateOptions
-
public final class EdgeUpdateOptions extends TransactionalOptions<EdgeUpdateOptions>
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description EdgeUpdateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIfMatch()
Boolean
getKeepNull()
Boolean
getWaitForSync()
EdgeUpdateOptions
ifMatch(String ifMatch)
EdgeUpdateOptions
keepNull(Boolean keepNull)
EdgeUpdateOptions
waitForSync(Boolean waitForSync)
-
Methods inherited from class com.arangodb.model.TransactionalOptions
getStreamTransactionId, streamTransactionId
-
-
-
-
Method Detail
-
getKeepNull
public Boolean getKeepNull()
-
keepNull
public EdgeUpdateOptions 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 EdgeUpdateOptions waitForSync(Boolean waitForSync)
- Parameters:
waitForSync
- Wait until document has been synced to disk.- Returns:
- options
-
getIfMatch
public String getIfMatch()
-
ifMatch
public EdgeUpdateOptions ifMatch(String ifMatch)
- Parameters:
ifMatch
- replace a document based on target revision- Returns:
- options
-
-