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 tracks | Why it matters |
|---|---|
| Labels | Maps “Person” → LabelId for efficient storage |
| Property keys | Maps “name” → PropertyKeyId |
| Edge types | Maps “KNOWS” → EdgeTypeId |
| Indexes | Which properties are indexed for fast lookups |
Structs§
- Catalog
- The database’s schema dictionary - maps names to compact internal IDs.
- Catalog
Constraint Validator - Validates schema constraints during mutation operations using the Catalog.
- Edge
Type Definition - Definition of an edge type (relationship type schema).
- Graph
Type Definition - Definition of a graph type (constrains which node/edge types a graph allows).
- Index
Definition - Index definition.
- Node
Type Definition - Definition of a node type (label schema).
- Procedure
Definition - Definition of a stored procedure.
- Schema
Catalog - Schema constraints and type definitions.
- Typed
Property - A typed property within a node or edge type definition.
Enums§
- Catalog
Error - Catalog-related errors.
- Index
Type - Type of index.
- Property
Data Type - Data type for a typed property in a node or edge type definition.
- Type
Constraint - A constraint on a node or edge type.