pub enum IndexType {
BTree,
Hash,
GIN,
GiST,
SPGiST,
BRIN,
Bloom,
Custom(Ident),
}Expand description
Variants§
BTree
B-Tree index (commonly default for many databases).
Hash
Hash index.
GIN
Generalized Inverted Index (GIN).
GiST
Generalized Search Tree (GiST) index.
SPGiST
Space-partitioned GiST (SPGiST) index.
BRIN
Block Range Index (BRIN).
Bloom
Bloom filter based index.
Custom(Ident)
Users may define their own index types, which would not be covered by the above variants.