Options
All
  • Public
  • Public/Protected
  • All
Menu

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

attributes?: string[]

Indexed attributes.

bitmapIndexOptions?: BitmapIndexOptions

Bitmap index options.

name?: string

Name of the index.

type?: "SORTED" | "HASH" | "BITMAP"

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

Generated using TypeDoc