20 #include <mongocxx/collection-fwd.hpp>
21 #include <mongocxx/database-fwd.hpp>
22 #include <mongocxx/options/aggregate-fwd.hpp>
24 #include <bsoncxx/builder/basic/document.hpp>
25 #include <bsoncxx/document/view_or_value.hpp>
26 #include <bsoncxx/stdx/optional.hpp>
27 #include <bsoncxx/types/bson_value/view_or_value.hpp>
28 #include <mongocxx/hint.hpp>
29 #include <mongocxx/read_concern.hpp>
30 #include <mongocxx/read_preference.hpp>
31 #include <mongocxx/stdx.hpp>
32 #include <mongocxx/write_concern.hpp>
34 #include <mongocxx/config/prelude.hpp>
114 const stdx::optional<bsoncxx::v_noabi::document::view_or_value>&
collation()
const;
138 const stdx::optional<bsoncxx::v_noabi::document::view_or_value>&
let()
const;
162 const stdx::optional<std::chrono::milliseconds>&
max_time()
const;
230 const stdx::optional<mongocxx::v_noabi::hint>&
hint()
const;
257 const stdx::optional<mongocxx::v_noabi::write_concern>&
write_concern()
const;
282 const stdx::optional<mongocxx::v_noabi::read_concern>&
read_concern()
const;
307 const stdx::optional<bsoncxx::v_noabi::types::bson_value::view_or_value>&
comment()
const;
310 friend ::mongocxx::v_noabi::collection;
311 friend ::mongocxx::v_noabi::database;
315 stdx::optional<bool> _allow_disk_use;
316 stdx::optional<std::int32_t> _batch_size;
317 stdx::optional<bsoncxx::v_noabi::document::view_or_value> _collation;
318 stdx::optional<bsoncxx::v_noabi::document::view_or_value> _let;
319 stdx::optional<std::chrono::milliseconds> _max_time;
320 stdx::optional<mongocxx::v_noabi::read_preference> _read_preference;
321 stdx::optional<bool> _bypass_document_validation;
322 stdx::optional<mongocxx::v_noabi::hint> _hint;
323 stdx::optional<mongocxx::v_noabi::write_concern> _write_concern;
324 stdx::optional<mongocxx::v_noabi::read_concern> _read_concern;
325 stdx::optional<bsoncxx::v_noabi::types::bson_value::view_or_value> _comment;
332 #include <mongocxx/config/postlude.hpp>
A traditional builder-style interface for constructing a BSON document.
Definition: document.hpp:38
Class representing a hint to be passed to a database operation.
Definition: hint.hpp:34
Class representing the optional arguments to a MongoDB aggregation operation.
Definition: aggregate.hpp:43
const stdx::optional< bool > & bypass_document_validation() const
The current bypass_document_validation setting.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & collation() const
Retrieves the current collation for this operation.
aggregate & allow_disk_use(bool allow_disk_use)
Enables writing to temporary files.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & let() const
Retrieves the current variable mapping for this operation.
const stdx::optional< mongocxx::v_noabi::read_concern > & read_concern() const
Gets the current read concern.
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & comment() const
Gets the current comment.
aggregate & let(bsoncxx::v_noabi::document::view_or_value let)
Sets the variable mapping for this operation.
const stdx::optional< std::chrono::milliseconds > & max_time() const
The current max_time setting.
aggregate & comment(bsoncxx::v_noabi::types::bson_value::view_or_value comment)
Sets the comment to use for this operation.
aggregate & batch_size(std::int32_t batch_size)
Sets the number of documents to return per batch.
const stdx::optional< mongocxx::v_noabi::write_concern > & write_concern() const
Gets the current write concern.
aggregate & collation(bsoncxx::v_noabi::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 & read_concern(mongocxx::v_noabi::read_concern read_concern)
Sets the read concern to use for this operation.
const stdx::optional< std::int32_t > & batch_size() const
The current batch size setting.
aggregate & bypass_document_validation(bool bypass_document_validation)
Sets whether the $out stage should bypass document validation.
aggregate & write_concern(mongocxx::v_noabi::write_concern write_concern)
Sets the write concern to use for this operation.
const stdx::optional< bool > & allow_disk_use() const
Retrieves the current allow_disk_use setting.
const stdx::optional< mongocxx::v_noabi::read_preference > & read_preference() const
The current read_preference for this operation.
aggregate & hint(mongocxx::v_noabi::hint index_hint)
Sets the index to use for this operation.
aggregate & read_preference(mongocxx::v_noabi::read_preference rp)
Sets the read_preference for this operation.
const stdx::optional< mongocxx::v_noabi::hint > & hint() const
Gets the current hint.
A class to represent the read concern.
Definition: read_concern.hpp:56
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:63
Class representing the server-side requirement for reporting the success of a write operation.
Definition: write_concern.hpp:58
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19