Expand description
Query execution engine for CQLite
This module provides the core query execution engine that bridges between CQL parsing and the storage engine. It includes:
- CQL query parsing and validation
- Query planning and optimization
- Query execution with storage integration
- Prepared statement support
- Result set management
- REVOLUTIONARY SELECT parser for direct SSTable access
Re-exports§
pub use engine::AnalyzeResult;pub use engine::CacheStats;pub use engine::ExplainResult;pub use engine::QueryCacheEntry;pub use engine::QueryEngine as AdvancedQueryEngine;pub use engine::SchemaStatus;pub use executor::QueryExecutor;pub use executor::QueryResult as ExecutorQueryResult;pub use executor::QueryRow as ExecutorQueryRow;pub use m2_select_validator::M2SelectValidator;pub use m2_select_validator::SelectValidationResult;pub use m2_select_validator::UnsupportedFeature;pub use parser::QueryParser;pub use planner::ExecutionStep;pub use planner::IndexSelection;pub use planner::PlanType;pub use planner::QueryHints;pub use planner::QueryPlan;pub use planner::QueryPlanner;pub use prepared::ExecutionHints;pub use prepared::ParameterMetadata;pub use prepared::PreparedQuery;pub use prepared::PreparedQueryBuilder;pub use prepared::PreparedQueryStats;pub use result::cql_type_to_data_type;pub use result::ColumnInfo;pub use result::PerformanceMetrics;pub use result::QueryMetadata;pub use result::QueryResult;pub use result::QueryResultIterator;pub use result::QueryRow;pub use result::RowMetadata;pub use result::StreamingConfig;pub use select_ast::SelectStatement;pub use select_executor::SelectExecutor;pub use select_optimizer::OptimizedQueryPlan;pub use select_optimizer::SelectOptimizer;pub use select_parser::parse_select;pub use select_parser::SelectParser;
Modules§
- engine
- Query engine implementation for CQLite
- executor
- Query executor for CQLite
- m2_
select_ validator - M2 SELECT Query Validator
- parser
- Query Statement Parser
- planner
- Query planner for CQLite
- prepared
- Prepared statements for CQLite
- result
- Query result types for CQLite
- select_
ast - CQL SELECT Abstract Syntax Tree.
- select_
executor - CQL SELECT Query Executor for Direct SSTable Access
- select_
integration_ tests - Integration Tests for Revolutionary CQL SELECT Parser
- select_
optimizer - Query optimizer for SELECT statements - basic planning and predicate pushdown.
- select_
parser - Advanced CQL SELECT Parser
Structs§
- Condition
- Individual condition in WHERE clause
- Order
ByClause - ORDER BY clause
- Parsed
Query - Parsed CQL query representation
- Query
Engine - Legacy query engine wrapper for backward compatibility.
- Query
Stats - Query execution statistics
- Where
Clause - WHERE clause representation
Enums§
- Comparison
Operator - Comparison operators
- Query
Type - CQL query types
- Sort
Direction - Sort direction