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;
129 template<
typename... T>
133 add_attributes(std::forward<T>(attrs)...);
137 template<
typename... T>
138 void add_attributes(std::string attribute, T... attrs)
140 attributes.emplace_back(std::move(attribute));
141 add_attributes(attrs...);
144 void add_attributes();
150#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
bitmap_index_options()
Constructs a new bitmap index options instance with all options set to default values.
unique_key_transformation
@ OBJECT
Extracted unique key value is interpreted as an object value.
@ RAW
Extracted unique key value is interpreted as a whole integer value of byte, short,...
@ 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.
std::vector< std::string > attributes
Indexed attributes.
boost::optional< std::string > name
Name of the index.
index_config(index_type type=DEFAULT_TYPE)
Creates an index configuration of the given type.
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.