MongoDB C++ Driver 4.2.0
Loading...
Searching...
No Matches
mongocxx::v_noabi::text_options::prefix Class Reference

#include <mongocxx/v1/text_options.hpp>

Description

Options related to prefix queries in Queryable Encryption.

Attention
This feature is experimental! It is not ready for use!

Public Member Functions

 prefix ()
 Default initialization.
 prefix (prefix &&other) noexcept
 Move constructor.
 prefix (prefix const &other)
 Copy construction.
 ~prefix ()
 Destroy this object.
prefixoperator= (prefix &&other) noexcept
 Move assignment.
prefixoperator= (prefix const &other)
 Copy assignment.
bsoncxx::v1::stdx::optional< std::int32_t > str_max_query_length () const
 Return the current "strMaxQueryLength" field.
prefixstr_max_query_length (std::int32_t v)
 Set the "strMaxQueryLength" field.
bsoncxx::v1::stdx::optional< std::int32_t > str_min_query_length () const
 Return the current "strMinQueryLength" field.
prefixstr_min_query_length (std::int32_t v)
 Set the "strMinQueryLength" field.

Constructor & Destructor Documentation

◆ ~prefix()

Destroy this object.

Warning
Invalidates all associated views.

◆ prefix() [1/3]

mongocxx::v1::text_options::prefix::prefix ( prefix && other)
noexcept

Move constructor.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ prefix() [2/3]

Copy construction.

◆ prefix() [3/3]

Default initialization.

Postconditions:
  • All supported fields are "unset" or zero-initialized.

Member Function Documentation

◆ operator=() [1/2]

prefix & mongocxx::v1::text_options::prefix::operator= ( prefix && other)
noexcept

Move assignment.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ operator=() [2/2]

prefix & mongocxx::v1::text_options::prefix::operator= ( prefix const & other)

Copy assignment.

◆ str_max_query_length() [1/2]

Return the current "strMaxQueryLength" field.

◆ str_max_query_length() [2/2]

Set the "strMaxQueryLength" field.

◆ str_min_query_length() [1/2]

Return the current "strMinQueryLength" field.

◆ str_min_query_length() [2/2]

Set the "strMinQueryLength" field.


The documentation for this class was generated from the following file: