Package com.hazelcast.config
Class BitmapIndexOptions
java.lang.Object
com.hazelcast.config.BitmapIndexOptions
Configures indexing options specific to bitmap indexes.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines an assortment of transformations which can be applied tounique key
values. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default forunique key
.static final BitmapIndexOptions.UniqueKeyTransformation
The default forunique key transformation
. -
Constructor Summary
ConstructorDescriptionConstructs a new bitmap index options instance with all options set to default values.BitmapIndexOptions
(BitmapIndexOptions bitmapIndexOptions) Constructs a new bitmap index options instance by copying the passed bitmap index options. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the unique key attribute configured in this index config.Returns the unique key transformation configured in this index.int
hashCode()
setUniqueKey
(String uniqueKey) Sets unique key attribute in this index config.setUniqueKeyTransformation
(BitmapIndexOptions.UniqueKeyTransformation uniqueKeyTransformation) Sets unique key transformation in this index config.toString()
-
Field Details
-
DEFAULT_UNIQUE_KEY
The default forunique key
. -
DEFAULT_UNIQUE_KEY_TRANSFORMATION
The default forunique key transformation
.
-
-
Constructor Details
-
BitmapIndexOptions
public BitmapIndexOptions()Constructs a new bitmap index options instance with all options set to default values. -
BitmapIndexOptions
Constructs a new bitmap index options instance by copying the passed bitmap index options.
-
-
Method Details
-
getUniqueKey
Returns the unique key attribute configured in this index config. Defaults to__key
. The unique key attribute is used as a source of values which uniquely identify each entry being inserted into an index.- Returns:
- the configured unique key attribute.
-
setUniqueKey
Sets unique key attribute in this index config.- Parameters:
uniqueKey
- a unique key attribute to configure.
-
getUniqueKeyTransformation
Returns the unique key transformation configured in this index. Defaults toOBJECT
. The transformation is applied to every value extracted fromunique key attribue
.- Returns:
- the configured unique key transformation.
-
setUniqueKeyTransformation
public BitmapIndexOptions setUniqueKeyTransformation(@Nonnull BitmapIndexOptions.UniqueKeyTransformation uniqueKeyTransformation) Sets unique key transformation in this index config.- Parameters:
uniqueKeyTransformation
- a unique key transformation to configure.
-
toString
-
equals
-
hashCode
public int hashCode()
-