IndexKind Class

Specifies the index kind of index specs.

Inheritance
builtins.object
IndexKind

Constructor

IndexKind()

Variables

IndexKind.Hash
str

The index entries are hashed to serve point look up queries. Can be used to serve queries like: SELECT * FROM docs d WHERE d.prop = 5

IndexKind.Range
str

The index entries are ordered. Range indexes are optimized for inequality predicate queries with efficient range scans. Can be used to serve queries like: SELECT * FROM docs d WHERE d.prop > 5

Attributes

Hash

Hash = 'Hash'

Range

Range = 'Range'