47 BSONCXX_PUSH_WARNINGS();
48 BSONCXX_DISABLE_WARNING(MSVC(4251));
49 BSONCXX_DISABLE_WARNING(MSVC(4275));
66 friend ::mongocxx::v_noabi::options::index;
68 virtual int type()
const = 0;
101 friend ::mongocxx::v_noabi::collection;
108 BSONCXX_POP_WARNINGS();
512 haystack_bucket_size_deprecated() const;
527 stdx::optional<
bool> _background;
528 stdx::optional<
bool> _unique;
529 stdx::optional<
bool> _hidden;
531 stdx::optional<
bsoncxx::v_noabi::document::view> _collation;
532 stdx::optional<
bool> _sparse;
534 stdx::optional<
std::chrono::seconds> _expire_after;
535 stdx::optional<
std::int32_t> _version;
536 stdx::optional<
bsoncxx::v_noabi::document::view> _weights;
539 stdx::optional<
bsoncxx::v_noabi::document::view> _partial_filter_expression;
540 stdx::optional<
std::uint8_t> _twod_sphere_version;
541 stdx::optional<
std::uint8_t> _twod_bits_precision;
542 stdx::optional<
double> _twod_location_min;
543 stdx::optional<
double> _twod_location_max;
544 stdx::optional<
double> _haystack_bucket_size;
556#include <bsoncxx/config/postlude.hpp>
The bsoncxx macro guard prelude header.
A polyfill for std::optional<T>.
Definition optional.hpp:874
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:54
Class representing the optional WiredTiger storage engine options for indexes.
Definition index.hpp:74
void config_string(bsoncxx::v_noabi::string::view_or_value config_string)
Set the WiredTiger configuration string.
const 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:45
const 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 stdx::optional< bool > & unique() const
The current unique setting.
const stdx::optional< double > & twod_location_max() const
The current upper inclusive boundary for the longitude and latitude values.
const stdx::optional< std::int32_t > & version() const
The current index version.
const stdx::optional< bsoncxx::v_noabi::document::view > & collation() const
Retrieves the current collation for this index.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & name() const
The current name setting.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & default_language() const
The current default_language setting.
const stdx::optional< bool > & hidden() const
The current hidden setting.
const stdx::optional< std::uint8_t > & twod_sphere_version() const
The current twod_sphere_version setting.
const stdx::optional< std::uint8_t > & twod_bits_precision() const
The current precision of the stored geohash value of the location data.
const stdx::optional< double > & twod_location_min() const
The current lower inclusive boundary for the longitude and latitude values.
const stdx::optional< bool > & sparse() const
The current sparse setting.
const stdx::optional< bool > & background() const
The current background setting.
MONGOCXX_DEPRECATED const stdx::optional< double > & haystack_bucket_size() const
The current haystack_bucket_size setting.
const stdx::optional< std::chrono::seconds > & expire_after() const
The current expire_after setting.
const stdx::optional< bsoncxx::v_noabi::document::view > & partial_filter_expression() const
The current partial_filter_expression setting.
operator bsoncxx::v_noabi::document::view_or_value()
Conversion operator that provides a view of the options in document form.
const stdx::optional< bsoncxx::v_noabi::document::view > & weights() const
The current weights 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.
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition fwd.hpp:258
#define MONGOCXX_ABI_NO_EXPORT
Excludes the associated entity from being part of the ABI.
Definition fwd.hpp:206
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
#define MONGOCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition fwd.hpp:198
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.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides bsoncxx::v_noabi::string::view_or_value.