Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IndexConfig

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

IndexType

Hierarchy

  • IndexConfig

Index

Properties

Optional attributes

attributes: string[]

Indexed attributes.

Optional bitmapIndexOptions

bitmapIndexOptions: BitmapIndexOptions

Bitmap index options.

Optional name

name: string

Name of the index.

Optional type

Type of the index. By default, set to SORTED. Available values are SORTED, HASH, and BITMAP.

Generated using TypeDoc