45 BSONCXX_PUSH_WARNINGS();
46 BSONCXX_DISABLE_WARNING(MSVC(4251));
47 BSONCXX_DISABLE_WARNING(MSVC(4275));
64 friend ::mongocxx::v_noabi::options::index;
66 virtual int type()
const = 0;
100 friend ::mongocxx::v_noabi::collection;
107 BSONCXX_POP_WARNINGS();
226 const
bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view>&)
339 const
bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view>&)
407 const
bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view>&)
523 haystack_bucket_size_deprecated() const;
538 bsoncxx::v_noabi::stdx::optional<
bool> _background;
539 bsoncxx::v_noabi::stdx::optional<
bool> _unique;
540 bsoncxx::v_noabi::stdx::optional<
bool> _hidden;
542 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _collation;
543 bsoncxx::v_noabi::stdx::optional<
bool> _sparse;
545 bsoncxx::v_noabi::stdx::optional<
std::chrono::seconds> _expire_after;
546 bsoncxx::v_noabi::stdx::optional<
std::int32_t> _version;
547 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _weights;
550 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _partial_filter_expression;
551 bsoncxx::v_noabi::stdx::optional<
std::uint8_t> _twod_sphere_version;
552 bsoncxx::v_noabi::stdx::optional<
std::uint8_t> _twod_bits_precision;
553 bsoncxx::v_noabi::stdx::optional<
double> _twod_location_min;
554 bsoncxx::v_noabi::stdx::optional<
double> _twod_location_max;
555 bsoncxx::v_noabi::stdx::optional<
double> _haystack_bucket_size;
567#include <bsoncxx/config/postlude.hpp>
The bsoncxx macro guard prelude header.
A polyfill for std::optional<T>.
Definition optional.hpp:826
Class representing a view-or-value variant type for strings.
Definition view_or_value.hpp:41
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:87
Base class representing the optional storage engine options for indexes.
Definition index.hpp:52
Class representing the optional WiredTiger storage engine options for indexes.
Definition index.hpp:72
void config_string(bsoncxx::v_noabi::string::view_or_value config_string)
Set the WiredTiger configuration string.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > & config_string() const
The current config_string setting.
Class representing the optional arguments to a MongoDB create index operation.
Definition index.hpp:43
const bsoncxx::v_noabi::stdx::optional< std::uint8_t > & twod_bits_precision() const
The current precision of the stored geohash value of the location data.
MONGOCXX_DEPRECATED const bsoncxx::v_noabi::stdx::optional< double > & haystack_bucket_size() const
The current haystack_bucket_size setting.
const bsoncxx::v_noabi::stdx::optional< std::chrono::seconds > & expire_after() const
The current expire_after setting.
const bsoncxx::v_noabi::stdx::optional< bool > & unique() const
The current unique setting.
const bsoncxx::v_noabi::stdx::optional< double > & twod_location_min() const
The current lower inclusive boundary for the longitude and latitude values.
const bsoncxx::v_noabi::stdx::optional< std::uint8_t > & twod_sphere_version() const
The current twod_sphere_version setting.
const bsoncxx::v_noabi::stdx::optional< bool > & sparse() const
The current sparse setting.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > & collation() const
Retrieves the current collation for this index.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > & default_language() const
The current default_language setting.
const bsoncxx::v_noabi::stdx::optional< bool > & background() const
The current background setting.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > & weights() const
The current weights setting.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > & name() const
The current name setting.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > & partial_filter_expression() const
The current partial_filter_expression setting.
const bsoncxx::v_noabi::stdx::optional< bool > & hidden() const
The current hidden setting.
operator bsoncxx::v_noabi::document::view_or_value()
Conversion operator that provides a view of the options in document form.
const bsoncxx::v_noabi::stdx::optional< double > & twod_location_max() const
The current upper inclusive boundary for the longitude and latitude values.
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > & language_override() const
The current name of the field that contains the override language for text indexes.
const bsoncxx::v_noabi::stdx::optional< std::int32_t > & version() const
The current index version.
Declares mongocxx::v_noabi::collection.
Provides bsoncxx::v_noabi::document::value.
Provides bsoncxx::v_noabi::document::view.
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition fwd.hpp:212
#define MONGOCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition fwd.hpp:188
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:204
#define MONGOCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition fwd.hpp:180
Declares mongocxx::v_noabi::options::index.
The mongocxx macro guard postlude header.
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides bsoncxx::v_noabi::string::view_or_value.