Package com.arangodb.model
Class DocumentReadOptions
- Author:
- Mark Vollmary, Michele Rastelli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowDirtyRead
(Boolean allowDirtyRead) ifNoneMatch
(String ifNoneMatch) Methods inherited from class com.arangodb.model.TransactionalOptions
getStreamTransactionId, streamTransactionId
-
Constructor Details
-
DocumentReadOptions
public DocumentReadOptions()
-
-
Method Details
-
getIfNoneMatch
-
ifNoneMatch
- Parameters:
ifNoneMatch
- document revision must not contain If-None-Match- Returns:
- options
-
getIfMatch
-
ifMatch
- Parameters:
ifMatch
- document revision must contain If-Match- Returns:
- options
-
allowDirtyRead
- Parameters:
allowDirtyRead
- Set totrue
allows reading from followers in an active-failover setup.- Returns:
- options
- Since:
- ArangoDB 3.4.0
- See Also:
-
getAllowDirtyRead
-