Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
watch_query_indexes_options Class Reference

#include <couchbase/watch_query_indexes_options.hxx>

Inheritance diagram for watch_query_indexes_options:
Inheritance graph

Classes

struct  built
 Immutable value object representing consistent options. More...
 

Public Member Functions

auto watch_primary (bool watch_primary) -> watch_query_indexes_options &
 
template<typename T >
auto polling_interval (T duration)
 
auto build () const -> built
 Validates options and returns them as an immutable value.
 
- Public Member Functions inherited from common_options< watch_query_indexes_options >
auto timeout (const std::chrono::milliseconds timeout) -> watch_query_indexes_options &
 Specifies a custom per-operation timeout.
 
auto retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> watch_query_indexes_options &
 Specifies a custom couchbase::retry_strategy for this operation.
 
auto parent_span (std::shared_ptr< tracing::request_span > span) -> watch_query_indexes_options &
 

Additional Inherited Members

- Protected Member Functions inherited from common_options< watch_query_indexes_options >
auto build_common_options () const -> built
 
auto self () -> watch_query_indexes_options &
 Allows to return the right options builder instance for child implementations.
 

Member Function Documentation

◆ build()

auto build ( ) const -> built
inlinenodiscard

Validates options and returns them as an immutable value.

Returns
consistent options as an immutable value
Exceptions
std::system_errorwith code errc::common::invalid_argument if the options are not valid
Since
1.0.0
Internal
Internal interface

◆ polling_interval()

template<typename T >
auto polling_interval ( T duration)
inline

◆ watch_primary()

auto watch_primary ( bool watch_primary) -> watch_query_indexes_options&
inline

The documentation for this class was generated from the following file: