IndexType in sqlparser::ast - Rust

Skip to main content

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.

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for IndexType

§

impl RefUnwindSafe for IndexType

§

impl Send for IndexType

§

impl Sync for IndexType

§

impl Unpin for IndexType

§

impl UnwindSafe for IndexType

Blanket Implementations§