Class DocumentReadOptions


public final class DocumentReadOptions extends TransactionalOptions<DocumentReadOptions>
Author:
Mark Vollmary, Michele Rastelli
  • Constructor Details

    • DocumentReadOptions

      public DocumentReadOptions()
  • Method Details

    • 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 to true allows reading from followers in an active-failover setup.
      Returns:
      options
      Since:
      ArangoDB 3.4.0
      See Also:
    • getAllowDirtyRead

      public Boolean getAllowDirtyRead()