#include <mongocxx/v_noabi/mongocxx/options/range.hpp>
Used by mongocxx::v_noabi::options::encrypt::range_opts.
Specifies index options (RangeOpts) for a Queryable Encryption field supporting "range" queries.
Public Member Functions | |
| range ()=default | |
| Default initialization. | |
| range (v1::range_options opts) | |
| Construct with the mongocxx::v1 equivalent. | |
| bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & | max () const |
| Gets RangeOpts.max. | |
| range & | max (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
| Sets RangeOpts.max. | |
| bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & | min () const |
| Gets RangeOpts.min. | |
| range & | min (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
| Sets RangeOpts.min. | |
| operator v1::range_options () const | |
| Convert to the mongocxx::v1 equivalent. | |
| bsoncxx::v_noabi::stdx::optional< std::int32_t > const & | precision () const |
| Gets RangeOpts.precision. | |
| range & | precision (std::int32_t value) |
| Sets RangeOpts.precision. | |
| bsoncxx::v_noabi::stdx::optional< std::int64_t > const & | sparsity () const |
| Gets RangeOpts.sparsity. | |
| range & | sparsity (std::int64_t value) |
| Sets RangeOpts.sparsity. | |
| bsoncxx::v_noabi::stdx::optional< std::int32_t > const & | trim_factor () const |
| Gets RangeOpts.trimFactor. | |
| range & | trim_factor (std::int32_t value) |
| Sets RangeOpts.trimFactor. | |
|
default |
Default initialization.
Construct with the mongocxx::v1 equivalent.
|
inline |
Gets RangeOpts.max.
|
inline |
Sets RangeOpts.max.
|
inline |
Gets RangeOpts.min.
|
inline |
Sets RangeOpts.min.
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
|
inline |
Gets RangeOpts.precision.
|
inline |
Sets RangeOpts.precision.
|
inline |
Gets RangeOpts.sparsity.
|
inline |
Sets RangeOpts.sparsity.
|
inline |
Gets RangeOpts.trimFactor.
|
inline |
Sets RangeOpts.trimFactor.