Class IndexConfig

java.lang.Object
com.hazelcast.config.IndexConfig
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable

public class IndexConfig
extends Object
implements IdentifiedDataSerializable
Configuration of an index. Hazelcast support two types of indexes: sorted index and hash index. Sorted indexes could be used with equality and range predicates and have logarithmic search time. Hash indexes could be used with equality predicates and have constant search time assuming the hash function of the indexed field disperses the elements properly.

Index could be created on one or more attributes.

See Also:
IndexType, MapConfig.setIndexConfigs(List)