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

#include <mongocxx/v1/text_options.hpp>

Description

Options related to text queries for Queryable Encryption.

Supported fields include:

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

Classes

class  prefix
 Options related to prefix queries in Queryable Encryption. More...
class  substring
 Options related to substring queries in Queryable Encryption. More...
class  suffix
 Options related to suffix queries in Queryable Encryption. More...

Public Member Functions

 text_options ()
 Default initialization.
 text_options (text_options &&other) noexcept
 Move constructor.
 text_options (text_options const &other)
 Copy construction.
 ~text_options ()
 Destroy this object.
bsoncxx::v1::stdx::optional< bool > case_sensitive () const
 Return the current "caseSensitive" field.
text_optionscase_sensitive (bool v)
 Set the "caseSensitive" field.
bsoncxx::v1::stdx::optional< bool > diacritic_sensitive () const
 Return the current "diacriticSensitive" field.
text_optionsdiacritic_sensitive (bool v)
 Set the "diacriticSensitive" field.
text_optionsoperator= (text_options &&other) noexcept
 Move assignment.
text_optionsoperator= (text_options const &other)
 Copy assignment.
bsoncxx::v1::stdx::optional< prefixprefix_opts () const
 Return the current "prefix" field.
text_optionsprefix_opts (prefix v)
 Set the "prefix" field.
bsoncxx::v1::stdx::optional< substringsubstring_opts () const
 Return the current "substring" field.
text_optionssubstring_opts (substring v)
 Set the "substring" field.
bsoncxx::v1::stdx::optional< suffixsuffix_opts () const
 Return the current "suffix" field.
text_optionssuffix_opts (suffix v)
 Set the "suffix" field.

Constructor & Destructor Documentation

◆ ~text_options()

Destroy this object.

Warning
Invalidates all associated views.

◆ text_options() [1/3]

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

Move constructor.

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

◆ text_options() [2/3]

mongocxx::v1::text_options::text_options ( text_options const & other)

Copy construction.

◆ text_options() [3/3]

Default initialization.

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

Member Function Documentation

◆ case_sensitive() [1/2]

Return the current "caseSensitive" field.

◆ case_sensitive() [2/2]

Set the "caseSensitive" field.

◆ diacritic_sensitive() [1/2]

Return the current "diacriticSensitive" field.

◆ diacritic_sensitive() [2/2]

Set the "diacriticSensitive" field.

◆ operator=() [1/2]

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

Move assignment.

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

◆ operator=() [2/2]

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

Copy assignment.

◆ prefix_opts() [1/2]

Return the current "prefix" field.

◆ prefix_opts() [2/2]

◆ substring_opts() [1/2]

Return the current "substring" field.

◆ substring_opts() [2/2]

◆ suffix_opts() [1/2]

Return the current "suffix" field.

◆ suffix_opts() [2/2]


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