Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
read_preference.hxx
Go to the documentation of this file.
1
2/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
3/*
4 * Copyright 2020-Present Couchbase, Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19#pragma once
20
21namespace couchbase
22{
58} // namespace couchbase
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.
@ selected_server_group
Exclude any nodes that do not belong to local group selected during cluster instantiation with networ...
@ selected_server_group_or_all_available
The same as read_preference::selected_server_group, but if the filtered replica set is empty,...