59 read_preference_ = preference;
Common options that used by most operations.
Definition common_options.hxx:37
auto self() -> get_any_replica_options &
Definition common_options.hxx:102
auto build_common_options() const -> built
Definition common_options.hxx:89
Represents result of collection::get_any_replica operations, also returned by collection::get_all_rep...
Definition get_replica_result.hxx:36
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
std::function< void(error, get_replica_result)> get_any_replica_handler
The signature for the handler of the collection::get_any_replica() operation.
Definition get_any_replica_options.hxx:92
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.
Immutable value object representing consistent options.
Definition get_any_replica_options.hxx:42
couchbase::read_preference read_preference
Definition get_any_replica_options.hxx:43
Options for collection::get_any_replica().
Definition get_any_replica_options.hxx:35
auto read_preference(read_preference preference) -> get_any_replica_options &
Choose how the replica nodes will be selected.
Definition get_any_replica_options.hxx:57
auto build() const -> built
Validates options and returns them as an immutable value.
Definition get_any_replica_options.hxx:74