MongoDB C++ Driver mongocxx-3.11.0
|
#include <mongocxx/v_noabi/mongocxx/options/range.hpp>
RangeOpts
specifies index options for a Queryable Encryption field supporting "range" queries.
Public Member Functions | |
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & | max () const |
Gets RangeOpts.max . | |
range & | max (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
Sets RangeOpts.max . | |
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & | min () const |
Gets RangeOpts.min . | |
range & | min (bsoncxx::v_noabi::types::bson_value::view_or_value value) |
Sets RangeOpts.min . | |
const stdx::optional< std::int32_t > & | precision () const |
Gets RangeOpts.precision . | |
range & | precision (std::int32_t value) |
Sets RangeOpts.precision . | |
const stdx::optional< std::int64_t > & | sparsity () const |
Gets RangeOpts.sparsity . | |
range & | sparsity (std::int64_t value) |
Sets RangeOpts.sparsity . | |
const stdx::optional< std::int32_t > & | trim_factor () const |
Gets RangeOpts.trimFactor . | |
range & | trim_factor (std::int32_t value) |
Sets RangeOpts.trimFactor . | |
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & mongocxx::v_noabi::options::range::max | ( | ) | const |
Gets RangeOpts.max
.
range & mongocxx::v_noabi::options::range::max | ( | bsoncxx::v_noabi::types::bson_value::view_or_value | value | ) |
Sets RangeOpts.max
.
const stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & mongocxx::v_noabi::options::range::min | ( | ) | const |
Gets RangeOpts.min
.
range & mongocxx::v_noabi::options::range::min | ( | bsoncxx::v_noabi::types::bson_value::view_or_value | value | ) |
Sets RangeOpts.min
.
const stdx::optional< std::int32_t > & mongocxx::v_noabi::options::range::precision | ( | ) | const |
Gets RangeOpts.precision
.
double
or decimal128
. range & mongocxx::v_noabi::options::range::precision | ( | std::int32_t | value | ) |
Sets RangeOpts.precision
.
double
or decimal128
. const stdx::optional< std::int64_t > & mongocxx::v_noabi::options::range::sparsity | ( | ) | const |
Gets RangeOpts.sparsity
.
range & mongocxx::v_noabi::options::range::sparsity | ( | std::int64_t | value | ) |
Sets RangeOpts.sparsity
.
const stdx::optional< std::int32_t > & mongocxx::v_noabi::options::range::trim_factor | ( | ) | const |
Gets RangeOpts.trimFactor
.
range & mongocxx::v_noabi::options::range::trim_factor | ( | std::int32_t | value | ) |
Sets RangeOpts.trimFactor
.