Skip to main content

Module catalog

Module catalog 

Source
Expand description

Schema metadata - what labels, properties, and indexes exist.

The catalog is the “dictionary” of your database. When you write (:Person), the catalog maps “Person” to an internal LabelId. This indirection keeps storage compact while names stay readable.

What it tracksWhy it matters
LabelsMaps “Person” → LabelId for efficient storage
Property keysMaps “name” → PropertyKeyId
Edge typesMaps “KNOWS” → EdgeTypeId
IndexesWhich properties are indexed for fast lookups

Structs§

Catalog
The database’s schema dictionary - maps names to compact internal IDs.
IndexDefinition
Index definition.

Enums§

CatalogError
Catalog-related errors.
IndexType
Type of index.