Package com.arangodb.model
Class DocumentReadOptions
- java.lang.Object
-
- com.arangodb.model.TransactionalOptions<DocumentReadOptions>
-
- com.arangodb.model.DocumentReadOptions
-
public final class DocumentReadOptions extends TransactionalOptions<DocumentReadOptions>
- Author:
- Mark Vollmary, Michele Rastelli
-
-
Constructor Summary
Constructors Constructor Description DocumentReadOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentReadOptions
allowDirtyRead(Boolean allowDirtyRead)
Boolean
getAllowDirtyRead()
String
getIfMatch()
String
getIfNoneMatch()
DocumentReadOptions
ifMatch(String ifMatch)
DocumentReadOptions
ifNoneMatch(String ifNoneMatch)
-
Methods inherited from class com.arangodb.model.TransactionalOptions
getStreamTransactionId, streamTransactionId
-
-
-
-
Method Detail
-
getIfNoneMatch
public String getIfNoneMatch()
-
ifNoneMatch
public DocumentReadOptions ifNoneMatch(String ifNoneMatch)
- Parameters:
ifNoneMatch
- document revision must not contain If-None-Match- Returns:
- options
-
getIfMatch
public String getIfMatch()
-
ifMatch
public DocumentReadOptions ifMatch(String ifMatch)
- Parameters:
ifMatch
- document revision must contain If-Match- Returns:
- options
-
allowDirtyRead
public DocumentReadOptions 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()
-
-