21 #include "hazelcast/util/export.h" 23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 25 #pragma warning(disable: 4251) //for dll export 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) boost::optional< std::string > name
Name of the index.
Definition: index_config.h:97
std::vector< std::string > attributes
Indexed attributes.
Definition: index_config.h:103
static const unique_key_transformation DEFAULT_TRANSFORMATION
The default for .
Definition: index_config.h:76
Extracted unique key value is interpreted as an object value.
Definition: index_config.h:47
Extracted unique key value is interpreted as a whole integer value of byte, short, int or long type.
Definition: index_config.h:55
Definition: index_config.h:41
Hash index.
Definition: index_config.h:90
index_type type
Type of the index.
Definition: index_config.h:100
Sorted index.
Definition: index_config.h:87
index_config(index_type t, T... attrs)
Creates an index configuration of the given type with provided attributes.
Definition: index_config.h:125
static const std::string DEFAULT_KEY
The default for .
Definition: index_config.h:71
unique_key_transformation
Definition: index_config.h:42
index_type
Definition: index_config.h:85
Configuration of an index.
Definition: index_config.h:40