Class GraphDocumentReadOptions


  • public final class GraphDocumentReadOptions
    extends Object
    Author:
    Mark Vollmary
    • Constructor Detail

      • GraphDocumentReadOptions

        public GraphDocumentReadOptions()
    • Method Detail

      • getIfNoneMatch

        public String getIfNoneMatch()
      • ifNoneMatch

        public GraphDocumentReadOptions ifNoneMatch​(String ifNoneMatch)
        Parameters:
        ifNoneMatch - document revision must not contain If-None-Match
        Returns:
        options
      • getIfMatch

        public String getIfMatch()
      • ifMatch

        public GraphDocumentReadOptions ifMatch​(String ifMatch)
        Parameters:
        ifMatch - document revision must contain If-Match
        Returns:
        options
      • allowDirtyRead

        public GraphDocumentReadOptions 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:
        API Documentation
      • getAllowDirtyRead

        public Boolean getAllowDirtyRead()
      • getStreamTransactionId

        public String getStreamTransactionId()
      • streamTransactionId

        public GraphDocumentReadOptions streamTransactionId​(String streamTransactionId)
        Parameters:
        streamTransactionId - If set, the operation will be executed within the transaction.
        Returns:
        options
        Since:
        ArangoDB 3.5.1