20 #include <bsoncxx/builder/basic/document.hpp>
21 #include <bsoncxx/document/view_or_value.hpp>
22 #include <bsoncxx/stdx/optional.hpp>
23 #include <bsoncxx/types/bson_value/view_or_value.hpp>
24 #include <mongocxx/hint.hpp>
25 #include <mongocxx/read_concern.hpp>
26 #include <mongocxx/read_preference.hpp>
27 #include <mongocxx/stdx.hpp>
28 #include <mongocxx/write_concern.hpp>
30 #include <mongocxx/config/prelude.hpp>
33 inline namespace v_noabi {
110 const stdx::optional<bsoncxx::document::view_or_value>&
collation()
const;
134 const stdx::optional<bsoncxx::document::view_or_value>&
let()
const;
158 const stdx::optional<std::chrono::milliseconds>&
max_time()
const;
226 const stdx::optional<class hint>&
hint()
const;
303 const stdx::optional<bsoncxx::types::bson_value::view_or_value>&
comment()
const;
306 friend class ::mongocxx::database;
307 friend class ::mongocxx::collection;
311 stdx::optional<bool> _allow_disk_use;
312 stdx::optional<std::int32_t> _batch_size;
313 stdx::optional<bsoncxx::document::view_or_value> _collation;
314 stdx::optional<bsoncxx::document::view_or_value> _let;
315 stdx::optional<std::chrono::milliseconds> _max_time;
316 stdx::optional<class read_preference> _read_preference;
317 stdx::optional<bool> _bypass_document_validation;
318 stdx::optional<class hint> _hint;
319 stdx::optional<class write_concern> _write_concern;
320 stdx::optional<class read_concern> _read_concern;
321 stdx::optional<bsoncxx::types::bson_value::view_or_value> _comment;
328 #include <mongocxx/config/postlude.hpp>
A traditional builder-style interface for constructing a BSON document.
Definition: document.hpp:37
Class representing a view-or-value variant type.
Definition: view_or_value.hpp:29
Class representing a hint to be passed to a database operation.
Definition: hint.hpp:31
Class representing the optional arguments to a MongoDB aggregation operation.
Definition: aggregate.hpp:39
const stdx::optional< bool > & bypass_document_validation() const
The current bypass_document_validation setting.
aggregate & allow_disk_use(bool allow_disk_use)
Enables writing to temporary files.
aggregate & read_preference(class read_preference rp)
Sets the read_preference for this operation.
const stdx::optional< class read_concern > & read_concern() const
Gets the current read concern.
const stdx::optional< bsoncxx::document::view_or_value > & collation() const
Retrieves the current collation for this operation.
const stdx::optional< bsoncxx::document::view_or_value > & let() const
Retrieves the current variable mapping for this operation.
const stdx::optional< std::chrono::milliseconds > & max_time() const
The current max_time setting.
const stdx::optional< class hint > & hint() const
Gets the current hint.
aggregate & batch_size(std::int32_t batch_size)
Sets the number of documents to return per batch.
aggregate & collation(bsoncxx::document::view_or_value collation)
Sets the collation for this operation.
aggregate & max_time(std::chrono::milliseconds max_time)
Sets the maximum amount of time for this operation to run server-side in milliseconds.
aggregate & comment(bsoncxx::types::bson_value::view_or_value comment)
Sets the comment to use for this operation.
aggregate & hint(class hint index_hint)
Sets the index to use for this operation.
aggregate & write_concern(class write_concern write_concern)
Sets the write concern to use for this operation.
const stdx::optional< std::int32_t > & batch_size() const
The current batch size setting.
const stdx::optional< class write_concern > & write_concern() const
Gets the current write concern.
aggregate & let(bsoncxx::document::view_or_value let)
Sets the variable mapping for this operation.
aggregate & bypass_document_validation(bool bypass_document_validation)
Sets whether the $out stage should bypass document validation.
aggregate & read_concern(class read_concern read_concern)
Sets the read concern to use for this operation.
const stdx::optional< bsoncxx::types::bson_value::view_or_value > & comment() const
Gets the current comment.
const stdx::optional< bool > & allow_disk_use() const
Retrieves the current allow_disk_use setting.
const stdx::optional< class read_preference > & read_preference() const
The current read_preference for this operation.
A class to represent the read concern.
Definition: read_concern.hpp:57
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:67
Class representing the server-side requirement for reporting the success of a write operation.
Definition: write_concern.hpp:59
The top-level namespace for mongocxx library entities.
Definition: bulk_write.hpp:24