Skip to main content

Module types

Module types 

Source
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 collection::CollectionInfo;
pub use collection::ColumnInfo;
pub use collection::IndexSpec;
pub use collection::IndexState;
pub use filter::CompareOp;
pub use filter::Filter;
pub use filter::FilterExpr;
pub use plan::AlterArrayPlan;
pub use plan::ArrayAggPlan;
pub use plan::ArrayElementwisePlan;
pub use plan::ArrayProjectPlan;
pub use plan::ArraySlicePlan;
pub use plan::CreateArrayPlan;
pub use plan::CreateIndexPlan;
pub use plan::CtePlan;
pub use plan::DeleteArrayPlan;
pub use plan::DocumentIndexLookupPlan;
pub use plan::DropIndexPlan;
pub use plan::HybridSearchPlan;
pub use plan::HybridSearchTriplePlan;
pub use plan::InsertArrayPlan;
pub use plan::InsertPlan;
pub use plan::KvInsertPlan;
pub use plan::LateralLoopPlan;
pub use plan::LateralTopKPlan;
pub use plan::MergePlan;
pub use plan::RangeScanPlan;
pub use plan::RecursiveScanPlan;
pub use plan::RecursiveValuePlan;
pub use plan::TextScoreColumn;
pub use plan::TextSearchPlan;
pub use plan::TextSearchShape;
pub use plan::TimeseriesIngestPlan;
pub use plan::TimeseriesScanPlan;
pub use plan::UpsertPlan;
pub use plan::VectorPrimaryDeletePlan;
pub use plan::VectorPrimaryInsertPlan;
pub use plan::VectorPrimaryTruncatePlan;
pub use plan::VectorPrimaryUpdatePlan;
pub use plan::ArrayPrefilter;
pub use plan::KvInsertIntent;
pub use plan::MergeClauseKind;
pub use plan::MergePlanAction;
pub use plan::MergePlanClause;
pub use plan::PlanCacheEligibility;
pub use plan::SqlPlan;
pub use plan::VectorAnnOptions;
pub use plan::VectorPrimaryInsertIntent;
pub use plan::VectorPrimaryRow;
pub use plan::VectorQuantization;
pub use plan::WriteRoute;
pub use query::AggOutputSlot;
pub use query::AggregateExpr;
pub use query::EngineType;
pub use query::JoinType;
pub use query::Projection;
pub use query::SortKey;
pub use query::SpatialPredicate;
pub use query::WindowSpec;
pub use crate::types_expr::BinaryOp;
pub use crate::types_expr::SqlDataType;
pub use crate::types_expr::SqlExpr;
pub use crate::types_expr::SqlPayloadAtom;
pub use crate::types_expr::SqlValue;
pub use crate::types_expr::UnaryOp;
pub use crate::catalog::ArrayCatalogView;
pub use crate::catalog::SqlCatalog;
pub use crate::catalog::SqlCatalogError;
pub use crate::fts_types::FtsQuery;

Modules§

collection
Collection and column metadata types for query planning.
filter
Filter predicate types for SQL plan IR.
plan
SqlPlan intermediate representation and supporting types.
query
Query structure types: projections, sort keys, aggregates, windows, engine/join/spatial enums.

Enums§

DistanceMetric
Distance metric selection.