21 #include "hazelcast/util/export.h"
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251)
66 unique_key_transformation transformation;
97 boost::optional<std::string>
name;
105 boost::optional<bitmap_index_options> options;
124 template<
typename ...T>
126 add_attributes(std::forward<T>(attrs)...);
130 template<
typename ...T>
131 void add_attributes(std::string attribute, T... attrs) {
132 attributes.emplace_back(std::move(attribute));
133 add_attributes(attrs...);
136 void add_attributes();
142 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
unique_key_transformation
@ OBJECT
Extracted unique key value is interpreted as an object value.
@ LONG
Extracted unique key value is interpreted as a whole integer value of byte, short,...
static const unique_key_transformation DEFAULT_TRANSFORMATION
The default for \transformation.
static const std::string DEFAULT_KEY
The default for \key.
Configuration of an index.
std::vector< std::string > attributes
Indexed attributes.
boost::optional< std::string > name
Name of the index.
index_type type
Type of the index.
index_config(index_type t, T... attrs)
Creates an index configuration of the given type with provided attributes.