45 BSONCXX_PRIVATE_WARNINGS_PUSH();
46 BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4251));
47 BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4275));
66 friend ::mongocxx::v_noabi::options::index;
68 virtual int type()
const = 0;
103 friend ::mongocxx::v_noabi::collection;
110 BSONCXX_PRIVATE_WARNINGS_POP();
551 haystack_bucket_size_deprecated() const;
566 bsoncxx::v_noabi::stdx::optional<
bool> _background;
567 bsoncxx::v_noabi::stdx::optional<
bool> _unique;
568 bsoncxx::v_noabi::stdx::optional<
bool> _hidden;
570 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _collation;
571 bsoncxx::v_noabi::stdx::optional<
bool> _sparse;
573 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _storage_engine;
574 bsoncxx::v_noabi::stdx::optional<std::chrono::seconds> _expire_after;
575 bsoncxx::v_noabi::stdx::optional<std::int32_t> _version;
576 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _weights;
579 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view> _partial_filter_expression;
580 bsoncxx::v_noabi::stdx::optional<std::uint8_t> _twod_sphere_version;
581 bsoncxx::v_noabi::stdx::optional<std::uint8_t> _twod_bits_precision;
582 bsoncxx::v_noabi::stdx::optional<
double> _twod_location_min;
583 bsoncxx::v_noabi::stdx::optional<
double> _twod_location_max;
584 bsoncxx::v_noabi::stdx::optional<
double> _haystack_bucket_size;
596#include <bsoncxx/config/postlude.hpp>
The bsoncxx v_noabi macro guard prelude header.
A polyfill for std::optional<T>.
Definition optional.hpp:800
A view-or-value variant type for strings.
Definition view_or_value.hpp:41
A MongoDB collection.
Definition collection.hpp:87
Base class representing the optional storage engine options for indexes.
Definition index.hpp:54
The optional WiredTiger storage engine options for indexes.
Definition index.hpp:76
void config_string(bsoncxx::v_noabi::string::view_or_value config_string)
Set the WiredTiger configuration string.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & config_string() const
The current config_string setting.
Used by MongoDB index creation operations.
Definition index.hpp:43
bsoncxx::v_noabi::stdx::optional< std::chrono::seconds > const & expire_after() const
The current expire_after setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > const & weights() const
The current weights setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > const & partial_filter_expression() const
The current partial_filter_expression setting.
bsoncxx::v_noabi::stdx::optional< double > const & twod_location_min() const
The current lower inclusive boundary for the longitude and latitude values.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & language_override() const
The current name of the field that contains the override language for text indexes.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & name() const
The current name setting.
bsoncxx::v_noabi::stdx::optional< double > const & haystack_bucket_size() const
The current haystack_bucket_size setting.
bsoncxx::v_noabi::stdx::optional< std::int32_t > const & version() const
The current index version.
bsoncxx::v_noabi::stdx::optional< bool > const & sparse() const
The current sparse setting.
bsoncxx::v_noabi::stdx::optional< std::uint8_t > const & twod_sphere_version() const
The current twod_sphere_version setting.
bsoncxx::v_noabi::stdx::optional< bool > const & unique() const
The current unique setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > const & storage_engine() const
The current storage engine options.
bsoncxx::v_noabi::stdx::optional< std::uint8_t > const & twod_bits_precision() const
The current precision of the stored geohash value of the location data.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & default_language() const
The current default_language setting.
bsoncxx::v_noabi::stdx::optional< double > const & twod_location_max() const
The current upper inclusive boundary for the longitude and latitude values.
bsoncxx::v_noabi::stdx::optional< bool > const & background() const
The current background setting.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view > const & collation() const
Retrieves the current collation for this index.
operator bsoncxx::v_noabi::document::view_or_value()
Conversion operator that provides a view of the options in document form.
bsoncxx::v_noabi::stdx::optional< bool > const & hidden() const
The current hidden setting.
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.
Declares mongocxx::v_noabi::options::index.
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition export.hpp:25
#define MONGOCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition export.hpp:20
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
#define MONGOCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition export.hpp:15
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi 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.
Provides bsoncxx::v_noabi::string::view_or_value.
Provides std::optional-related polyfills for library API usage.