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

#include <mongocxx/v1/text_options.hpp>

Description

Options related to substring queries in Queryable Encryption.

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

Public Member Functions

 substring ()
 Default initialization.
 substring (substring &&other) noexcept
 Move constructor.
 substring (substring const &other)
 Copy construction.
 ~substring ()
 Destroy this object.
substringoperator= (substring &&other) noexcept
 Move assignment.
substringoperator= (substring const &other)
 Copy assignment.
bsoncxx::v1::stdx::optional< std::int32_t > str_max_length () const
 Return the current "strMaxLength" field.
substringstr_max_length (std::int32_t v)
 Set the "strMaxLength" field.
bsoncxx::v1::stdx::optional< std::int32_t > str_max_query_length () const
 Return the current "strMaxQueryLength" field.
substringstr_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.
substringstr_min_query_length (std::int32_t v)
 Set the "strminQueryLength" field.

Constructor & Destructor Documentation

◆ ~substring()

Destroy this object.

Warning
Invalidates all associated views.

◆ substring() [1/3]

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

Move constructor.

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

◆ substring() [2/3]

Copy construction.

◆ substring() [3/3]

Default initialization.

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

Member Function Documentation

◆ operator=() [1/2]

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

Move assignment.

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

◆ operator=() [2/2]

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

Copy assignment.

◆ str_max_length() [1/2]

Return the current "strMaxLength" field.

◆ str_max_length() [2/2]

Set the "strMaxLength" field.

◆ 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: