public class GraphDocumentReadOptions extends Object
Constructor and Description |
---|
GraphDocumentReadOptions() |
Modifier and Type | Method and Description |
---|---|
GraphDocumentReadOptions |
allowDirtyRead(Boolean allowDirtyRead) |
GraphDocumentReadOptions |
catchException(boolean catchException) |
Boolean |
getAllowDirtyRead() |
String |
getIfMatch() |
String |
getIfNoneMatch() |
String |
getStreamTransactionId() |
GraphDocumentReadOptions |
ifMatch(String ifMatch) |
GraphDocumentReadOptions |
ifNoneMatch(String ifNoneMatch) |
boolean |
isCatchException() |
GraphDocumentReadOptions |
streamTransactionId(String streamTransactionId) |
public String getIfNoneMatch()
public GraphDocumentReadOptions ifNoneMatch(String ifNoneMatch)
ifNoneMatch
- document revision must not contain If-None-Matchpublic String getIfMatch()
public GraphDocumentReadOptions ifMatch(String ifMatch)
ifMatch
- document revision must contain If-Matchpublic boolean isCatchException()
public GraphDocumentReadOptions catchException(boolean catchException)
catchException
- whether or not catch possible thrown exceptionspublic GraphDocumentReadOptions allowDirtyRead(Boolean allowDirtyRead)
allowDirtyRead
- Set to true
allows reading from followers in an active-failover setup.public Boolean getAllowDirtyRead()
public String getStreamTransactionId()
public GraphDocumentReadOptions streamTransactionId(String streamTransactionId)
streamTransactionId
- If set, the operation will be executed within the transaction.Copyright © 2016–2019 ArangoDB GmbH. All rights reserved.