Expand description
SqlPlan intermediate representation types.
These types represent the output of the nodedb-sql planner. Both Origin (server) and Lite (embedded) map these to their own execution model.
Re-exports§
pub use crate::catalog::SqlCatalog;pub use crate::catalog::SqlCatalogError;
Structs§
- Aggregate
Expr - Aggregate expression:
COUNT(*),SUM(amount), etc. - Collection
Info - Metadata about a collection for query planning.
- Column
Info - Metadata about a single column.
- Filter
- A filter predicate.
- SortKey
- Sort key for ORDER BY.
- Window
Spec - Window function specification.
Enums§
- Binary
Op - Binary operators.
- Compare
Op - Comparison operators.
- Engine
Type - Database engine type for a collection.
- Filter
Expr - Filter expression tree.
- Join
Type - SQL join type.
- Projection
- Projection item in SELECT.
- Spatial
Predicate - Spatial predicate types.
- SqlData
Type - SQL data type for schema resolution.
- SqlExpr
- SQL expression tree.
- SqlPlan
- The top-level plan produced by the SQL planner.
- SqlValue
- SQL value literal.
- UnaryOp
- Unary operators.