#include <mongocxx/v1/range_options.hpp>
Options related to range_options queries for Queryable Encryption.
Supported fields include:
Public Member Functions | |
| range_options () | |
| Default initialization. | |
| range_options (range_options &&other) noexcept | |
| Move constructor. | |
| range_options (range_options const &other) | |
| Copy construction. | |
| ~range_options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > | max () const |
| Return the current "max" field. | |
| range_options & | max (bsoncxx::v1::types::value value) |
| Set the "max" field. | |
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > | min () const |
| Return the current "min" field. | |
| range_options & | min (bsoncxx::v1::types::value value) |
| Set the "min" field. | |
| range_options & | operator= (range_options &&other) noexcept |
| Move assignment. | |
| range_options & | operator= (range_options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< std::int32_t > | precision () const |
| Return the current "precision" field. | |
| range_options & | precision (std::int32_t value) |
| Set the "precision" field. | |
| bsoncxx::v1::stdx::optional< std::int64_t > | sparsity () const |
| Return the current "sparsity" field. | |
| range_options & | sparsity (std::int64_t value) |
| Set the "sparsity" field. | |
| bsoncxx::v1::stdx::optional< std::int32_t > | trim_factor () const |
| Return the current "trimFactor" field. | |
| range_options & | trim_factor (std::int32_t value) |
| Set the "trimFactor" field. | |
| mongocxx::v1::range_options::~range_options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::range_options::range_options | ( | range_options const & | other | ) |
Copy construction.
| mongocxx::v1::range_options::range_options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > mongocxx::v1::range_options::max | ( | ) | const |
Return the current "max" field.
| range_options & mongocxx::v1::range_options::max | ( | bsoncxx::v1::types::value | value | ) |
Set the "max" field.
| bsoncxx::v1::stdx::optional< bsoncxx::v1::types::view > mongocxx::v1::range_options::min | ( | ) | const |
Return the current "min" field.
| range_options & mongocxx::v1::range_options::min | ( | bsoncxx::v1::types::value | value | ) |
Set the "min" field.
|
noexcept |
Move assignment.
| range_options & mongocxx::v1::range_options::operator= | ( | range_options const & | other | ) |
Copy assignment.
| bsoncxx::v1::stdx::optional< std::int32_t > mongocxx::v1::range_options::precision | ( | ) | const |
Return the current "precision" field.
| range_options & mongocxx::v1::range_options::precision | ( | std::int32_t | value | ) |
Set the "precision" field.
| bsoncxx::v1::stdx::optional< std::int64_t > mongocxx::v1::range_options::sparsity | ( | ) | const |
Return the current "sparsity" field.
| range_options & mongocxx::v1::range_options::sparsity | ( | std::int64_t | value | ) |
Set the "sparsity" field.
| bsoncxx::v1::stdx::optional< std::int32_t > mongocxx::v1::range_options::trim_factor | ( | ) | const |
Return the current "trimFactor" field.
| range_options & mongocxx::v1::range_options::trim_factor | ( | std::int32_t | value | ) |
Set the "trimFactor" field.