Expand description
Executor - SQL Query Execution Engine
This crate provides query execution functionality for SQL statements.
Re-exports§
pub use cache::CacheManager;pub use cache::CacheStats;pub use cache::CachedQueryContext;pub use cache::PreparedStatement;pub use cache::PreparedStatementCache;pub use cache::PreparedStatementCacheStats;pub use cache::PreparedStatementError;pub use cache::QueryPlanCache;pub use cache::QuerySignature;pub use cursor::Cursor;pub use cursor::CursorExecutor;pub use cursor::CursorResult;pub use cursor::CursorStore;pub use cursor::FetchResult;pub use dml_cost::DmlOptimizer;pub use errors::ExecutorError;pub use evaluator::clear_in_subquery_cache;pub use evaluator::ExpressionEvaluator;pub use index_ddl::AnalyzeExecutor;pub use index_ddl::CreateIndexExecutor;pub use index_ddl::DropIndexExecutor;pub use index_ddl::IndexExecutor;pub use index_ddl::ReindexExecutor;pub use memory::QueryArena;pub use persistence::load_sql_dump;pub use pipeline::ColumnarPipeline;pub use pipeline::ExecutionContext;pub use pipeline::ExecutionPipeline;pub use pipeline::NativeColumnarPipeline;pub use pipeline::PipelineInput;pub use pipeline::PipelineOutput;pub use pipeline::RowOrientedPipeline;pub use readonly::ReadOnlyError;pub use readonly::ReadOnlyQuery;pub use select::SelectExecutor;pub use select::SelectResult;pub use session::PreparedExecutionResult;pub use session::Session;pub use session::SessionError;pub use session::SessionMut;pub use timeout::TimeoutContext;pub use truncate_table::TruncateTableExecutor;
Modules§
- advanced_
objects - Executor for advanced SQL:1999 objects
- arena
- Query-lifetime arena allocator for temporary buffers
- cache
- Query plan caching module
- correlation
- Correlation detection for subqueries
- cursor
- Cursor execution (SQL:1999 Feature E121)
- debug_
output - Structured debug output infrastructure
- dml_
cost - DML Cost-Based Optimization
- errors
- evaluator
- expression_
index_ maintenance - Expression index maintenance for DML operations
- index_
ddl - CREATE INDEX, DROP INDEX, REINDEX, and ANALYZE statement execution
- information_
schema - Information Schema Virtual Tables
- limits
- Execution limits and safeguards
- memory
- Memory management utilities for efficient query execution
- persistence
- Database Persistence - Loading SQL Dumps
- pipeline
- Unified Execution Pipeline
- procedural
- Stored Procedures and User-Defined Functions
- profiling
- Performance profiling and debug utilities for understanding bottlenecks
- readonly
- Read-only query execution for concurrent access.
- schema
- select
- session
- Session - Prepared Statement Execution Context
- sqlite_
schema - SQLite Schema Virtual Table
- sqlite_
stat - SQLite Statistics Virtual Tables
- timeout
- Timeout context for query execution
- truncate
- TRUNCATE TABLE statement execution
Macros§
- debug_
emit - Macro for creating debug events with both text and JSON output
- profile
- Macro to create a profiling scope
Structs§
- Alter
Table Executor - Executor for ALTER TABLE statements
- Begin
Transaction Executor - Executor for BEGIN TRANSACTION statements
- Commit
Executor - Executor for COMMIT statements
- Constraint
Validator - Constraint validator for table creation and alteration
- Create
Table Executor - Executor for CREATE TABLE statements
- Delete
Executor - Executor for DELETE statements
- Domain
Executor - Executor for domain DDL statements
- Drop
Table Executor - Executor for DROP TABLE statements
- Explain
Executor - Executor for EXPLAIN statements
- Explain
Result - Result of EXPLAIN operation
- Grant
Executor - Executor for GRANT statements
- Insert
Executor - Executor for INSERT statements
- Introspection
Executor - Executor for database introspection commands
- Plan
Node - Represents a single node in the query execution plan
- Privilege
Checker - Centralized privilege checking for all database operations
- Release
Savepoint Executor - Executor for RELEASE SAVEPOINT statements
- Revoke
Executor - Executor for REVOKE statements
- Role
Executor - Executor for role DDL statements
- Rollback
Executor - Executor for ROLLBACK statements
- Rollback
ToSavepoint Executor - Executor for ROLLBACK TO SAVEPOINT statements
- Savepoint
Executor - Executor for SAVEPOINT statements
- Schema
Executor - Executor for schema DDL statements
- Select
Into Executor - Sqlite
VmOutput - SQLite VM EXPLAIN output
- Trigger
Executor - Executor for trigger DDL operations
- Trigger
Firer - Helper struct for trigger firing (execution during DML operations)
- Type
Executor - Executor for type DDL statements
- Update
Executor - Executor for UPDATE statements
- View
Executor - Executor for view DDL statements
- VmInstruction
- Represents a single SQLite VM instruction for EXPLAIN output