| Package | Description | 
|---|---|
| com.hazelcast.config | Provides classes for configuring HazelcastInstance. | 
| com.hazelcast.map | Contains Hazelcast map module classes. | 
| Modifier and Type | Field and Description | 
|---|---|
| static IndexType | IndexConfig. DEFAULT_TYPEDefault index type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IndexType | IndexType. getById(int id)Returns the IndexType as an enum. | 
| IndexType | IndexConfig. getType()Gets type of the index. | 
| static IndexType | IndexType. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static IndexType[] | IndexType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexConfig | IndexConfig. setType(IndexType type)Sets type of the index. | 
| Constructor and Description | 
|---|
| IndexConfig(IndexType type)Creates an index configuration of the given type. | 
| IndexConfig(IndexType type,
           String... attributes)Creates an index configuration of the given type with provided attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | QueryCache. addIndex(IndexType type,
        String... attributes) | 
| default void | IMap. addIndex(IndexType type,
        String... attributes)Convenient method to add an index to this map with the given type and attributes. | 
Copyright © 2021 Hazelcast, Inc.. All rights reserved.