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