Couchbase C++ SDK 1.3.1 (rev. fb3f860)
Loading...
Searching...
No Matches
collection.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright 2020-Present Couchbase, Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#pragma once
19
23#include <couchbase/error.hxx>
25#include <couchbase/expiry.hxx>
47
48#include <future>
49#include <memory>
50
51namespace couchbase
52{
53#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
54namespace core
55{
56class cluster;
57} // namespace core
58class bucket;
59class scope;
60class collection_impl;
61namespace crypto
62{
63class manager;
64} // namespace crypto
65#endif
66
73class collection
74{
75public:
82 static constexpr auto default_name{ "_default" };
83
92 [[nodiscard]] auto bucket_name() const -> const std::string&;
93
102 [[nodiscard]] auto scope_name() const -> const std::string&;
103
112 [[nodiscard]] auto name() const -> const std::string&;
113
122 [[nodiscard]] auto binary() const -> binary_collection;
123
139 void get(std::string document_id, const get_options& options, get_handler&& handler) const;
140
156 [[nodiscard]] auto get(std::string document_id, const get_options& options = {}) const
157 -> std::future<std::pair<error, get_result>>;
158
175 void get_and_touch(std::string document_id,
176 std::chrono::seconds duration,
177 const get_and_touch_options& options,
178 get_and_touch_handler&& handler) const;
179
196 [[nodiscard]] auto get_and_touch(std::string document_id,
197 std::chrono::seconds duration,
198 const get_and_touch_options& options = {}) const
199 -> std::future<std::pair<error, get_result>>;
200
217 void get_and_touch(std::string document_id,
218 std::chrono::system_clock::time_point time_point,
219 const get_and_touch_options& options,
220 get_and_touch_handler&& handler) const;
221
238 [[nodiscard]] auto get_and_touch(std::string document_id,
239 std::chrono::system_clock::time_point time_point,
240 const get_and_touch_options& options = {}) const
241 -> std::future<std::pair<error, get_result>>;
242
259 void touch(std::string document_id,
260 std::chrono::seconds duration,
261 const touch_options& options,
262 touch_handler&& handler) const;
263
280 [[nodiscard]] auto touch(std::string document_id,
281 std::chrono::seconds duration,
282 const touch_options& options = {}) const
283 -> std::future<std::pair<error, result>>;
284
301 void touch(std::string document_id,
302 std::chrono::system_clock::time_point time_point,
303 const touch_options& options,
304 touch_handler&& handler) const;
305
322 [[nodiscard]] auto touch(std::string document_id,
323 std::chrono::system_clock::time_point time_point,
324 const touch_options& options = {}) const
325 -> std::future<std::pair<error, result>>;
326
344 void get_any_replica(std::string document_id,
345 const get_any_replica_options& options,
346 get_any_replica_handler&& handler) const;
347
372 [[nodiscard]] auto get_any_replica(std::string document_id,
373 const get_any_replica_options& options = {}) const
374 -> std::future<std::pair<error, get_replica_result>>;
375
392 void get_all_replicas(std::string document_id,
393 const get_all_replicas_options& options,
394 get_all_replicas_handler&& handler) const;
395
419 [[nodiscard]] auto get_all_replicas(std::string document_id,
420 const get_all_replicas_options& options = {}) const
421 -> std::future<std::pair<error, get_all_replicas_result>>;
422
438 void upsert(std::string document_id,
439 codec::encoded_value document,
440 const upsert_options& options,
441 upsert_handler&& handler) const;
442
460 template<typename Transcoder = codec::default_json_transcoder, typename Document>
461 void upsert(std::string document_id,
462 Document document,
463 const upsert_options& options,
464 upsert_handler&& handler) const
465 {
466 return upsert(std::move(document_id),
467 create_encode_fn<Transcoder, Document>(std::move(document)),
468 options,
469 std::move(handler));
470 }
471
487 [[nodiscard]] auto upsert(std::string document_id,
488 codec::encoded_value document,
489 const upsert_options& options) const
490 -> std::future<std::pair<error, mutation_result>>;
491
509 template<typename Transcoder = codec::default_json_transcoder, typename Document>
510 [[nodiscard]] auto upsert(std::string document_id,
511 Document document,
512 const upsert_options& options = {}) const
513 -> std::future<std::pair<error, mutation_result>>
514 {
515 return upsert(
516 std::move(document_id), create_encode_fn<Transcoder, Document>(std::move(document)), options);
517 }
518
533 void insert(std::string document_id,
534 codec::encoded_value document,
535 const insert_options& options,
536 insert_handler&& handler) const;
537
557 template<typename Transcoder = codec::default_json_transcoder,
558 typename Document,
559 std::enable_if_t<!std::is_same_v<codec::encoded_value, Document>, bool> = true>
560 void insert(std::string document_id,
561 Document document,
562 const insert_options& options,
563 insert_handler&& handler) const
564 {
565 return insert(std::move(document_id),
566 create_encode_fn<Transcoder, Document>(std::move(document)),
567 options,
568 std::move(handler));
569 }
570
585 [[nodiscard]] auto insert(std::string document_id,
586 codec::encoded_value document,
587 const insert_options& options) const
588 -> std::future<std::pair<error, mutation_result>>;
589
609 template<typename Transcoder = codec::default_json_transcoder,
610 typename Document,
611 std::enable_if_t<!std::is_same_v<codec::encoded_value, Document>, bool> = true>
612 [[nodiscard]] auto insert(std::string document_id,
613 Document document,
614 const insert_options& options = {}) const
615 -> std::future<std::pair<error, mutation_result>>
616 {
617 return insert(
618 std::move(document_id), create_encode_fn<Transcoder, Document>(std::move(document)), options);
619 }
620
635 void replace(std::string document_id,
636 codec::encoded_value document,
637 const replace_options& options,
638 replace_handler&& handler) const;
639
661 template<typename Transcoder = codec::default_json_transcoder,
662 typename Document,
663 std::enable_if_t<!std::is_same_v<codec::encoded_value, Document>, bool> = true>
664 void replace(std::string document_id,
665 Document document,
666 const replace_options& options,
667 replace_handler&& handler) const
668 {
669 return replace(std::move(document_id),
670 create_encode_fn<Transcoder, Document>(std::move(document)),
671 options,
672 std::move(handler));
673 }
674
689 [[nodiscard]] auto replace(std::string document_id,
690 codec::encoded_value document,
691 const replace_options& options) const
692 -> std::future<std::pair<error, mutation_result>>;
693
715 template<typename Transcoder = codec::default_json_transcoder,
716 typename Document,
717 std::enable_if_t<!std::is_same_v<codec::encoded_value, Document>, bool> = true>
718 [[nodiscard]] auto replace(std::string document_id,
719 Document document,
720 const replace_options& options = {}) const
721 -> std::future<std::pair<error, mutation_result>>
722 {
723 return replace(
724 std::move(document_id), create_encode_fn<Transcoder, Document>(std::move(document)), options);
725 }
726
744 void remove(std::string document_id,
745 const remove_options& options,
746 remove_handler&& handler) const;
747
765 [[nodiscard]] auto remove(std::string document_id, const remove_options& options = {}) const
766 -> std::future<std::pair<error, mutation_result>>;
767
788 void mutate_in(std::string document_id,
789 const mutate_in_specs& specs,
790 const mutate_in_options& options,
791 mutate_in_handler&& handler) const;
792
813 [[nodiscard]] auto mutate_in(std::string document_id,
814 const mutate_in_specs& specs,
815 const mutate_in_options& options = {}) const
816 -> std::future<std::pair<error, mutate_in_result>>;
817
834 void lookup_in(std::string document_id,
835 const lookup_in_specs& specs,
836 const lookup_in_options& options,
837 lookup_in_handler&& handler) const;
838
855 [[nodiscard]] auto lookup_in(std::string document_id,
856 const lookup_in_specs& specs,
857 const lookup_in_options& options = {}) const
858 -> std::future<std::pair<error, lookup_in_result>>;
859
877 void lookup_in_all_replicas(std::string document_id,
878 const lookup_in_specs& specs,
879 const lookup_in_all_replicas_options& options,
880 lookup_in_all_replicas_handler&& handler) const;
881
899 [[nodiscard]] auto lookup_in_all_replicas(std::string document_id,
900 const lookup_in_specs& specs,
901 const lookup_in_all_replicas_options& options = {})
902 const -> std::future<std::pair<error, lookup_in_all_replicas_result>>;
903
921 void lookup_in_any_replica(std::string document_id,
922 const lookup_in_specs& specs,
923 const lookup_in_any_replica_options& options,
924 lookup_in_any_replica_handler&& handler) const;
925
943 [[nodiscard]] auto lookup_in_any_replica(std::string document_id,
944 const lookup_in_specs& specs,
945 const lookup_in_any_replica_options& options = {}) const
946 -> std::future<std::pair<error, lookup_in_replica_result>>;
947
959 void get_and_lock(std::string document_id,
960 std::chrono::seconds lock_duration,
961 const get_and_lock_options& options,
962 get_and_lock_handler&& handler) const;
963
975 [[nodiscard]] auto get_and_lock(std::string document_id,
976 std::chrono::seconds lock_duration,
977 const get_and_lock_options& options = {}) const
978 -> std::future<std::pair<error, get_result>>;
979
998 void unlock(std::string document_id,
1000 const unlock_options& options,
1001 unlock_handler&& handler) const;
1002
1021 [[nodiscard]] auto unlock(std::string document_id,
1023 const unlock_options& options = {}) const -> std::future<error>;
1024
1038 void exists(std::string document_id,
1039 const exists_options& options,
1040 exists_handler&& handler) const;
1041
1055 [[nodiscard]] auto exists(std::string document_id, const exists_options& options = {}) const
1056 -> std::future<std::pair<error, exists_result>>;
1057
1073 void scan(const scan_type& scan_type, const scan_options& options, scan_handler&& handler) const;
1074
1090 [[nodiscard]] auto scan(const scan_type& scan_type, const scan_options& options = {}) const
1091 -> std::future<std::pair<error, scan_result>>;
1092
1093 [[nodiscard]] auto query_indexes() const -> collection_query_index_manager;
1094
1095private:
1096 friend class bucket;
1097 friend class scope;
1098
1099 [[nodiscard]] auto crypto_manager() const -> const std::shared_ptr<crypto::manager>&;
1100
1101 template<typename Transcoder, typename Document>
1102 [[nodiscard]] auto create_encode_fn(Document document) const
1103 -> std::function<codec::encoded_value()>
1104 {
1106 return [crypto_manager = crypto_manager(),
1107 document = std::move(document)]() -> codec::encoded_value {
1108 return Transcoder::encode(document, crypto_manager);
1109 };
1110 } else {
1111 return [document = std::move(document)]() -> codec::encoded_value {
1112 return Transcoder::encode(document);
1113 };
1114 }
1115 }
1116
1117 void replace(std::string document_id,
1118 std::function<codec::encoded_value()> document_fn,
1119 const replace_options& options,
1120 replace_handler&& handler) const;
1121
1122 auto replace(std::string document_id,
1123 std::function<codec::encoded_value()> document_fn,
1124 const replace_options& options) const
1125 -> std::future<std::pair<error, mutation_result>>;
1126
1127 void upsert(std::string document_id,
1128 std::function<codec::encoded_value()> document_fn,
1129 const upsert_options& options,
1130 upsert_handler&& handler) const;
1131
1132 auto upsert(std::string document_id,
1133 std::function<codec::encoded_value()> document_fn,
1134 const upsert_options& options) const
1135 -> std::future<std::pair<error, mutation_result>>;
1136
1137 void insert(std::string document_id,
1138 std::function<codec::encoded_value()> document_fn,
1139 const insert_options& options,
1140 insert_handler&& handler) const;
1141
1142 auto insert(std::string document_id,
1143 std::function<codec::encoded_value()> document_fn,
1144 const insert_options& options) const
1145 -> std::future<std::pair<error, mutation_result>>;
1146
1147 collection(core::cluster core,
1148 std::string_view bucket_name,
1149 std::string_view scope_name,
1150 std::string_view name,
1151 std::shared_ptr<crypto::manager> crypto_manager);
1152
1153 std::shared_ptr<collection_impl> impl_;
1154};
1155} // namespace couchbase
Allows to perform certain operations on non-JSON documents.
Definition binary_collection.hxx:47
Provides access to Couchbase bucket.
Definition bucket.hxx:49
CAS is a special type that represented in protocol using unsigned 64-bit integer, but only equality c...
Definition cas.hxx:34
The Query Index Manager interface contains the means for managing indexes used for queries.
Definition collection_query_index_manager.hxx:53
The collection provides access to all collection APIs.
Definition collection.hxx:74
auto touch(std::string document_id, std::chrono::system_clock::time_point time_point, const touch_options &options={}) const -> std::future< std::pair< error, result > >
Updates the expiration a document given an id, without modifying or returning its value.
auto replace(std::string document_id, codec::encoded_value document, const replace_options &options) const -> std::future< std::pair< error, mutation_result > >
Replaces a body of the document which already exists with specified encoded body.
friend class scope
Definition collection.hxx:1097
void replace(std::string document_id, Document document, const replace_options &options, replace_handler &&handler) const
Replaces a full document which already exists.
Definition collection.hxx:664
friend class bucket
Definition collection.hxx:1096
auto scan(const scan_type &scan_type, const scan_options &options={}) const -> std::future< std::pair< error, scan_result > >
Performs a key-value scan operation on the collection.
auto mutate_in(std::string document_id, const mutate_in_specs &specs, const mutate_in_options &options={}) const -> std::future< std::pair< error, mutate_in_result > >
Performs mutations to document fragments.
void remove(std::string document_id, const remove_options &options, remove_handler &&handler) const
Removes a Document from a collection.
auto bucket_name() const -> const std::string &
Returns name of the bucket where the collection is defined.
auto unlock(std::string document_id, couchbase::cas cas, const unlock_options &options={}) const -> std::future< error >
Unlocks a document if it has been locked previously, with default options.
void lookup_in_all_replicas(std::string document_id, const lookup_in_specs &specs, const lookup_in_all_replicas_options &options, lookup_in_all_replicas_handler &&handler) const
Performs lookups to document fragments with default options from all replicas and the active node and...
void get_and_lock(std::string document_id, std::chrono::seconds lock_duration, const get_and_lock_options &options, get_and_lock_handler &&handler) const
Gets a document for a given id and places a pessimistic lock on it for mutations.
static constexpr auto default_name
Constant for the name of the default collection in the bucket.
Definition collection.hxx:82
auto binary() const -> binary_collection
Provides access to the binary APIs, not used for JSON documents.
void scan(const scan_type &scan_type, const scan_options &options, scan_handler &&handler) const
Performs a key-value scan operation on the collection.
void lookup_in_any_replica(std::string document_id, const lookup_in_specs &specs, const lookup_in_any_replica_options &options, lookup_in_any_replica_handler &&handler) const
Performs lookups to document fragments with default options from all replicas and returns the first f...
void touch(std::string document_id, std::chrono::system_clock::time_point time_point, const touch_options &options, touch_handler &&handler) const
Updates the expiration a document given an id, without modifying or returning its value.
void exists(std::string document_id, const exists_options &options, exists_handler &&handler) const
Checks if the document exists on the server.
void get_and_touch(std::string document_id, std::chrono::seconds duration, const get_and_touch_options &options, get_and_touch_handler &&handler) const
Fetches a full document and resets its expiration time to the value provided.
auto lookup_in_all_replicas(std::string document_id, const lookup_in_specs &specs, const lookup_in_all_replicas_options &options={}) const -> std::future< std::pair< error, lookup_in_all_replicas_result > >
Performs lookups to document fragments with default options from all replicas and the active node and...
void get_any_replica(std::string document_id, const get_any_replica_options &options, get_any_replica_handler &&handler) const
Reads all available replicas, and returns the first found.
auto insert(std::string document_id, Document document, const insert_options &options={}) const -> std::future< std::pair< error, mutation_result > >
Inserts a full document which does not exist yet with custom options.
Definition collection.hxx:612
auto get_and_touch(std::string document_id, std::chrono::seconds duration, const get_and_touch_options &options={}) const -> std::future< std::pair< error, get_result > >
Fetches a full document and resets its expiration time to the value provided.
void lookup_in(std::string document_id, const lookup_in_specs &specs, const lookup_in_options &options, lookup_in_handler &&handler) const
Performs lookups to document fragments with default options.
void replace(std::string document_id, codec::encoded_value document, const replace_options &options, replace_handler &&handler) const
Replaces a body of the document which already exists with specified encoded body.
auto get_and_touch(std::string document_id, std::chrono::system_clock::time_point time_point, const get_and_touch_options &options={}) const -> std::future< std::pair< error, get_result > >
Fetches a full document and resets its expiration time to the absolute value provided.
auto replace(std::string document_id, Document document, const replace_options &options={}) const -> std::future< std::pair< error, mutation_result > >
Replaces a full document which already exists.
Definition collection.hxx:718
auto touch(std::string document_id, std::chrono::seconds duration, const touch_options &options={}) const -> std::future< std::pair< error, result > >
Updates the expiration a document given an id, without modifying or returning its value.
void upsert(std::string document_id, codec::encoded_value document, const upsert_options &options, upsert_handler &&handler) const
Upserts an encoded body of the document which might or might not exist yet, with custom options.
void upsert(std::string document_id, Document document, const upsert_options &options, upsert_handler &&handler) const
Upserts a full document which might or might not exist yet with custom options.
Definition collection.hxx:461
auto remove(std::string document_id, const remove_options &options={}) const -> std::future< std::pair< error, mutation_result > >
Removes a Document from a collection.
auto name() const -> const std::string &
Returns name of the collection.
auto upsert(std::string document_id, codec::encoded_value document, const upsert_options &options) const -> std::future< std::pair< error, mutation_result > >
Upserts an encoded body of the document which might or might not exist yet, with custom options.
auto lookup_in(std::string document_id, const lookup_in_specs &specs, const lookup_in_options &options={}) const -> std::future< std::pair< error, lookup_in_result > >
Performs lookups to document fragments with default options.
auto exists(std::string document_id, const exists_options &options={}) const -> std::future< std::pair< error, exists_result > >
Checks if the document exists on the server.
void insert(std::string document_id, codec::encoded_value document, const insert_options &options, insert_handler &&handler) const
Inserts an encoded body of the document which does not exist yet with custom options.
void get(std::string document_id, const get_options &options, get_handler &&handler) const
Fetches the full document from this collection.
auto get_all_replicas(std::string document_id, const get_all_replicas_options &options={}) const -> std::future< std::pair< error, get_all_replicas_result > >
Reads from all available replicas and the active node and returns the results as a vector.
auto get_and_lock(std::string document_id, std::chrono::seconds lock_duration, const get_and_lock_options &options={}) const -> std::future< std::pair< error, get_result > >
Gets a document for a given id and places a pessimistic lock on it for mutations.
auto get_any_replica(std::string document_id, const get_any_replica_options &options={}) const -> std::future< std::pair< error, get_replica_result > >
Reads all available replicas, and returns the first found.
auto lookup_in_any_replica(std::string document_id, const lookup_in_specs &specs, const lookup_in_any_replica_options &options={}) const -> std::future< std::pair< error, lookup_in_replica_result > >
Performs lookups to document fragments with default options from all replicas and returns the first f...
void get_all_replicas(std::string document_id, const get_all_replicas_options &options, get_all_replicas_handler &&handler) const
Reads from all available replicas and the active node and returns the results as a vector.
auto upsert(std::string document_id, Document document, const upsert_options &options={}) const -> std::future< std::pair< error, mutation_result > >
Upserts a full document which might or might not exist yet with custom options.
Definition collection.hxx:510
auto query_indexes() const -> collection_query_index_manager
void mutate_in(std::string document_id, const mutate_in_specs &specs, const mutate_in_options &options, mutate_in_handler &&handler) const
Performs mutations to document fragments.
void unlock(std::string document_id, couchbase::cas cas, const unlock_options &options, unlock_handler &&handler) const
Unlocks a document if it has been locked previously, with default options.
auto insert(std::string document_id, codec::encoded_value document, const insert_options &options) const -> std::future< std::pair< error, mutation_result > >
Inserts an encoded body of the document which does not exist yet with custom options.
auto scope_name() const -> const std::string &
Returns name of the scope where the collection is defined.
void touch(std::string document_id, std::chrono::seconds duration, const touch_options &options, touch_handler &&handler) const
Updates the expiration a document given an id, without modifying or returning its value.
void get_and_touch(std::string document_id, std::chrono::system_clock::time_point time_point, const get_and_touch_options &options, get_and_touch_handler &&handler) const
Fetches a full document and resets its expiration time to the absolute value provided.
void insert(std::string document_id, Document document, const insert_options &options, insert_handler &&handler) const
Inserts a full document which does not exist yet with custom options.
Definition collection.hxx:560
Definition lookup_in_specs.hxx:34
Definition mutate_in_specs.hxx:80
The scope identifies a group of collections and allows high application density as a result.
Definition scope.hxx:47
Definition analytics_options.hxx:35
constexpr bool is_crypto_transcoder_v
Definition transcoder_traits.hxx:36
json_transcoder< tao_json_serializer > default_json_transcoder
Definition default_json_transcoder.hxx:28
Definition expiry.hxx:24
Definition internal.hxx:27
Represents a single item from the result of 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 get_any_replica() operation.
Definition get_any_replica_options.hxx:92
std::function< void(error, mutation_result)> insert_handler
The signature for the handler of the insert() operation.
Definition insert_options.hxx:114
std::function< void(error, lookup_in_result)> lookup_in_handler
The signature for the handler of the lookup_in() operation.
Definition lookup_in_options.hxx:94
std::function< void(error, get_result)> get_handler
The signature for the handler of the get() operation.
Definition get_options.hxx:111
std::function< void(error, get_all_replicas_result)> get_all_replicas_handler
The signature for the handler of the get_all_replicas() operation.
Definition get_all_replicas_options.hxx:101
std::function< void(error, get_result)> get_and_lock_handler
The signature for the handler of the get_and_lock() operation.
Definition get_and_lock_options.hxx:70
std::function< void(error, mutation_result)> remove_handler
The signature for the handler of the remove() operation.
Definition remove_options.hxx:103
std::function< void(error, mutation_result)> upsert_handler
The signature for the handler of the upsert() operation.
Definition upsert_options.hxx:138
std::function< void(error, mutate_in_result)> mutate_in_handler
The signature for the handler of the mutate_in() operation.
Definition mutate_in_options.hxx:219
std::function< void(error, lookup_in_all_replicas_result)> lookup_in_all_replicas_handler
The signature for the handler of the lookup_in_all_replicas() operation.
Definition lookup_in_all_replicas_options.hxx:106
std::function< void(error, scan_result)> scan_handler
The signature for the handler of the scan() operation.
Definition scan_options.hxx:168
std::function< void(error, result)> touch_handler
The signature for the handler of the touch() operation.
Definition touch_options.hxx:70
std::function< void(error, mutation_result)> replace_handler
The signature for the handler of the replace() operation.
Definition replace_options.hxx:167
std::function< void(error, lookup_in_replica_result)> lookup_in_any_replica_handler
The signature for the handler of the lookup_in_any_replica() operation.
Definition lookup_in_any_replica_options.hxx:97
std::function< void(error)> unlock_handler
The signature for the handler of the unlock() operation.
Definition unlock_options.hxx:73
std::function< void(error, get_result)> get_and_touch_handler
The signature for the handler of the get_and_touch() operation.
Definition get_and_touch_options.hxx:70
std::function< void(error, exists_result)> exists_handler
The signature for the handler of the exists() operation.
Definition exists_options.hxx:74
Definition encoded_value.hxx:27
Options for exists().
Definition exists_options.hxx:41
Options for get_all_replicas().
Definition get_all_replicas_options.hxx:36
Options for collection::get_and_lock().
Definition get_and_lock_options.hxx:37
Options for collection::get_and_touch().
Definition get_and_touch_options.hxx:37
Options for collection::get_any_replica().
Definition get_any_replica_options.hxx:35
Options for collection::get().
Definition get_options.hxx:37
Options for insert().
Definition insert_options.hxx:41
Options for lookup_in_all_replicas().
Definition lookup_in_all_replicas_options.hxx:41
Options for lookup_in_any_replica().
Definition lookup_in_any_replica_options.hxx:40
Options for lookup_in().
Definition lookup_in_options.hxx:44
Options for mutate_in().
Definition mutate_in_options.hxx:44
Options for remove().
Definition remove_options.hxx:41
Options for replace().
Definition replace_options.hxx:41
Options for scan().
Definition scan_options.hxx:40
The base class for the different scan types.
Definition scan_type.hxx:96
Options for collection::touch().
Definition touch_options.hxx:37
Options for unlock().
Definition unlock_options.hxx:40
Options for upsert().
Definition upsert_options.hxx:41