60 read_preference_ = preference;
Common options that used by most operations.
Definition common_options.hxx:37
auto self() -> get_all_replicas_options &
Definition common_options.hxx:102
auto build_common_options() const -> built
Definition common_options.hxx:89
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
read_preference
Select read preference (or affinity) for the replica APIs such as:
Definition read_preference.hxx:39
@ no_preference
Do not enforce any filtering for replica set.
std::function< void(error, get_all_replicas_result)> get_all_replicas_handler
The signature for the handler of the collection::get_all_replicas() operation.
Definition get_all_replicas_options.hxx:101
std::vector< get_replica_result > get_all_replicas_result
The result for the collection::get_all_replicas() operation.
Definition get_all_replicas_options.hxx:93
Immutable value object representing consistent options.
Definition get_all_replicas_options.hxx:43
couchbase::read_preference read_preference
Definition get_all_replicas_options.hxx:44
Options for collection::get_all_replicas().
Definition get_all_replicas_options.hxx:36
auto read_preference(read_preference preference) -> get_all_replicas_options &
Choose how the replica nodes will be selected.
Definition get_all_replicas_options.hxx:58
auto build() const -> built
Validates options and returns them as an immutable value.
Definition get_all_replicas_options.hxx:75