#include <mongocxx/v1/change_stream.hpp>
Options for mongocxx::v1::change_stream.
Supported fields include:
Public Member Functions | |
| options () | |
| Default initialization. | |
| options (options &&other) noexcept | |
| Move constructor. | |
| options (options const &other) | |
| Copy construction. | |
| ~options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< std::int32_t > | batch_size () const |
| Return the current "batchSize" option. | |
| options & | batch_size (std::int32_t v) |
| Set the "batchSize" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | collation () const |
| Return the current "collation" option. | |
| options & | collation (bsoncxx::v1::document::value v) |
| Set the "collation" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > | comment () const |
| Return the current "comment" option. | |
| options & | comment (bsoncxx::v1::types::value v) |
| Set the "comment" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > | full_document () const |
| Return the current "fullDocument" option. | |
| options & | full_document (std::string v) |
| Set the "fullDocument" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > | full_document_before_change () const |
| Return the current "fullDocumentBeforeChange" option. | |
| options & | full_document_before_change (std::string v) |
| Set the "fullDocumentBeforeChange" option. | |
| bsoncxx::v1::stdx::optional< std::chrono::milliseconds > | max_await_time () const |
| Return the current "maxAwaitTimeMS" option. | |
| options & | max_await_time (std::chrono::milliseconds v) |
| Set the "maxAwaitTimeMS" option. | |
| options & | operator= (options &&other) noexcept |
| Move assignment. | |
| options & | operator= (options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | resume_after () const |
| Return the current "resumeAfter" option. | |
| options & | resume_after (bsoncxx::v1::document::value v) |
| Set the "resumeAfter" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > | start_after () const |
| Return the current "startAfter" option. | |
| options & | start_after (bsoncxx::v1::document::value v) |
| Set the "startAfter" option. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::b_timestamp > | start_at_operation_time () const |
| Return the current "startAtOperationTime" option. | |
| options & | start_at_operation_time (bsoncxx::v1::types::b_timestamp v) |
| Set the "startAtOperationTime" option. | |
| mongocxx::v1::change_stream::options::~options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::change_stream::options::options | ( | options const & | other | ) |
Copy construction.
| mongocxx::v1::change_stream::options::options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< std::int32_t > mongocxx::v1::change_stream::options::batch_size | ( | ) | const |
Return the current "batchSize" option.
| options & mongocxx::v1::change_stream::options::batch_size | ( | std::int32_t | v | ) |
Set the "batchSize" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::change_stream::options::collation | ( | ) | const |
Return the current "collation" option.
| options & mongocxx::v1::change_stream::options::collation | ( | bsoncxx::v1::document::value | v | ) |
Set the "collation" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > mongocxx::v1::change_stream::options::comment | ( | ) | const |
Return the current "comment" option.
| options & mongocxx::v1::change_stream::options::comment | ( | bsoncxx::v1::types::value | v | ) |
Set the "comment" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > mongocxx::v1::change_stream::options::full_document | ( | ) | const |
Return the current "fullDocument" option.
| options & mongocxx::v1::change_stream::options::full_document | ( | std::string | v | ) |
Set the "fullDocument" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::stdx::string_view > mongocxx::v1::change_stream::options::full_document_before_change | ( | ) | const |
Return the current "fullDocumentBeforeChange" option.
| options & mongocxx::v1::change_stream::options::full_document_before_change | ( | std::string | v | ) |
Set the "fullDocumentBeforeChange" option.
| bsoncxx::v1::stdx::optional< std::chrono::milliseconds > mongocxx::v1::change_stream::options::max_await_time | ( | ) | const |
Return the current "maxAwaitTimeMS" option.
| options & mongocxx::v1::change_stream::options::max_await_time | ( | std::chrono::milliseconds | v | ) |
Set the "maxAwaitTimeMS" option.
Move assignment.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::change_stream::options::resume_after | ( | ) | const |
Return the current "resumeAfter" option.
| options & mongocxx::v1::change_stream::options::resume_after | ( | bsoncxx::v1::document::value | v | ) |
Set the "resumeAfter" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::document::view > mongocxx::v1::change_stream::options::start_after | ( | ) | const |
Return the current "startAfter" option.
| options & mongocxx::v1::change_stream::options::start_after | ( | bsoncxx::v1::document::value | v | ) |
Set the "startAfter" option.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::b_timestamp > mongocxx::v1::change_stream::options::start_at_operation_time | ( | ) | const |
Return the current "startAtOperationTime" option.
| options & mongocxx::v1::change_stream::options::start_at_operation_time | ( | bsoncxx::v1::types::b_timestamp | v | ) |
Set the "startAtOperationTime" option.