Package com.arangodb.model
Class EdgeUpdateOptions
- java.lang.Object
-
- com.arangodb.model.EdgeUpdateOptions
-
public final class EdgeUpdateOptions extends Object
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description EdgeUpdateOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIfMatch()BooleangetKeepNull()StringgetStreamTransactionId()BooleangetWaitForSync()EdgeUpdateOptionsifMatch(String ifMatch)EdgeUpdateOptionskeepNull(Boolean keepNull)EdgeUpdateOptionsstreamTransactionId(String streamTransactionId)EdgeUpdateOptionswaitForSync(Boolean waitForSync)
-
-
-
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
-
getStreamTransactionId
public String getStreamTransactionId()
-
streamTransactionId
public EdgeUpdateOptions streamTransactionId(String streamTransactionId)
- Parameters:
streamTransactionId- If set, the operation will be executed within the transaction.- Returns:
- options
- Since:
- ArangoDB 3.5.1
-
-