21 #include "hazelcast/util/export.h"
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable : 4251)
71 unique_key_transformation transformation;
103 boost::optional<std::string>
name;
111 boost::optional<bitmap_index_options> options;
131 template<
typename... T>
135 add_attributes(std::forward<T>(attrs)...);
139 template<
typename... T>
140 void add_attributes(std::string attribute, T... attrs)
142 attributes.emplace_back(std::move(attribute));
143 add_attributes(attrs...);
146 void add_attributes();
152 #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.