Expand description
Catalog - Schema Metadata Storage
Provides metadata structures for tables and columns along with the catalog registry that tracks table schemas.
Re-exports§
pub use errors::CatalogError;
Modules§
Structs§
- Assertion
- Assertion - Named constraint that checks a boolean condition (SQL:1999 Feature F671/F672)
- Catalog
- Database catalog - manages all schemas and their objects.
- Character
Set - Character Set - Character encoding
- Collation
- Collation - String comparison rules
- Column
Identifier - A SQL column identifier with proper case handling per SQL:1999.
- Column
Schema - Column definition in a table schema.
- Domain
- Domain - User-defined data type with constraints
- Domain
Constraint Def - Domain constraint definition
- Domain
Definition - Domain definition stored in the catalog
- Foreign
KeyConstraint - Foreign key constraint definition.
- Function
- Function - Stored function (SQL:1999 Feature P001)
- Function
Param - Parameter in a function definition
- Index
Metadata - Index metadata stored in the catalog
- Privilege
Grant - A privilege grant record tracking who has what privilege on which object.
- Procedure
- Procedure - Stored procedure (SQL:1999 Feature P001)
- Procedure
Param - Parameter in a procedure definition
- Schema
- A schema - named collection of database objects (tables, views, etc.)
- Sequence
- Sequence - Auto-incrementing number generator
- Table
Identifier - A SQL identifier with proper case handling per SQL:1999.
- Table
Schema - Table schema definition.
- Translation
- Translation - Character set translation
- Trigger
Definition - Trigger definition stored in the catalog
- Type
Attribute - Attribute in a structured type
- Type
Definition - A user-defined type definition stored in the catalog
- User
Defined Type - User-defined Type (UDT)
- View
Definition - View definition stored in the catalog
Enums§
- Function
Body - Body of a function
- Index
Type - Type of physical index structure
- Indexed
Column - Column specification within an index - can be either a simple column or an expression
- Parameter
Mode - Parameter mode: IN, OUT, or INOUT
- Procedure
Body - Body of a procedure
- Referential
Action - Referential action for foreign key constraints.
- Sort
Order - Sort order for indexed columns
- SqlSecurity
- SQL SECURITY characteristic for procedures and functions (Phase 6)
- Storage
Format - Storage format for tables
- Type
Definition Kind - Kind of type definition
- Vector
Distance Metric - Distance metric for vector index operations
- View
Drop Behavior - Drop behavior for views
Constants§
- DEFAULT_
SCHEMA - Default schema name for SQLite compatibility. SQLite uses “main” as the default database/schema name.
- TEMP_
SCHEMA - Temporary schema name for SQLite compatibility. SQLite stores temporary tables in a separate “temp” schema. Temp tables are not persisted and have session scope.
Type Aliases§
- Identifier
- A general SQL identifier (for indexes, views, etc.)