Package com.arangodb.model
Class GraphDocumentReadOptions
- java.lang.Object
-
- com.arangodb.model.TransactionalOptions<GraphDocumentReadOptions>
-
- com.arangodb.model.GraphDocumentReadOptions
-
public final class GraphDocumentReadOptions extends TransactionalOptions<GraphDocumentReadOptions>
- Author:
- Mark Vollmary
-
-
Constructor Summary
Constructors Constructor Description GraphDocumentReadOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphDocumentReadOptions
allowDirtyRead(Boolean allowDirtyRead)
Boolean
getAllowDirtyRead()
String
getIfMatch()
String
getIfNoneMatch()
GraphDocumentReadOptions
ifMatch(String ifMatch)
GraphDocumentReadOptions
ifNoneMatch(String ifNoneMatch)
-
Methods inherited from class com.arangodb.model.TransactionalOptions
getStreamTransactionId, streamTransactionId
-
-
-
-
Method Detail
-
getIfNoneMatch
public String getIfNoneMatch()
-
ifNoneMatch
public GraphDocumentReadOptions ifNoneMatch(String ifNoneMatch)
- Parameters:
ifNoneMatch
- document revision must not contain If-None-Match- Returns:
- options
-
getIfMatch
public String getIfMatch()
-
ifMatch
public GraphDocumentReadOptions ifMatch(String ifMatch)
- Parameters:
ifMatch
- document revision must contain If-Match- Returns:
- options
-
allowDirtyRead
public GraphDocumentReadOptions allowDirtyRead(Boolean allowDirtyRead)
- Parameters:
allowDirtyRead
- Set totrue
allows reading from followers in an active-failover setup.- Returns:
- options
- Since:
- ArangoDB 3.4.0
- See Also:
- API Documentation
-
getAllowDirtyRead
public Boolean getAllowDirtyRead()
-
-