Skip to main content

Module executors

Module executors 

Source
Expand description

Multi-Mode Query Executors

Specialized executors for each query language mode:

  • Gremlin: Traverser-based execution with path state tracking
  • SPARQL: Pattern matching with variable bindings
  • Natural: Translation + execution with explanation
  • Vector: HNSW-based similarity search with metadata filtering
  • Hybrid: Combined structured + vector search with fusion strategies

Each executor converts its native AST to execution operations, leveraging the unified executor for common operations.

Re-exports§

pub use aggregation::create_aggregator;
pub use aggregation::execute_group_by;
pub use aggregation::execute_having;
pub use aggregation::AggregationDef;
pub use aggregation::Aggregator;
pub use aggregation::AvgAggregator;
pub use aggregation::CountAggregator;
pub use aggregation::CountDistinctAggregator;
pub use aggregation::GroupConcatAggregator;
pub use aggregation::MaxAggregator;
pub use aggregation::MinAggregator;
pub use aggregation::PercentileAggregator;
pub use aggregation::SampleAggregator;
pub use aggregation::StdDevAggregator;
pub use aggregation::SumAggregator;
pub use aggregation::VarianceAggregator;
pub use cte::inline_ctes;
pub use cte::split_union_parts;
pub use cte::CteContext;
pub use cte::CteExecutor;
pub use cte::CteStats;
pub use gremlin::GremlinExecutor;
pub use hybrid::HybridExecutor;
pub use hybrid::InMemoryHybridExecutor;
pub use join::choose_strategy;
pub use join::execute_join;
pub use join::hash_join;
pub use join::merge_join;
pub use join::nested_loop_join;
pub use join::JoinCondition;
pub use join::JoinStats;
pub use join::JoinStrategy;
pub use join::JoinType;
pub use natural::NaturalExecutor;
pub use set_ops::execute_set_op;
pub use set_ops::set_except;
pub use set_ops::set_intersect;
pub use set_ops::set_union;
pub use set_ops::SetOpStats;
pub use set_ops::SetOpType;
pub use sparql::SparqlExecutor;
pub use subquery::bind_outer_refs;
pub use subquery::detect_correlation;
pub use subquery::CompareOp;
pub use subquery::SubqueryCache;
pub use subquery::SubqueryDef;
pub use subquery::SubqueryExecutor;
pub use subquery::SubqueryType;
pub use subquery::ValueHash;
pub use vector::InMemoryVectorExecutor;
pub use vector::VectorExecutor;
pub use window::FrameBound;
pub use window::FrameExclude;
pub use window::FrameSpec;
pub use window::FrameType;
pub use window::NullsOrder;
pub use window::SortDirection;
pub use window::WindowDef;
pub use window::WindowExecutor;
pub use window::WindowFunc;
pub use window::WindowFuncType;
pub use window::WindowOrderBy;

Modules§

agg_spill
Hash-aggregation spill helper — Fase 4 P4 building block.
aggregation
Aggregation Framework
bitmap_scan
Bitmap heap scan — Fase 5 P6 consumer of TidBitmap.
cte
CTE (Common Table Expression) executor.
gremlin
Gremlin Traversal Executor
hybrid
Hybrid Query Executor
join
JOIN Executor Algorithms
natural
Natural Language Query Executor
parallel_scan
Parallel scan coordinator — Fase 4 P5 building block.
set_ops
Set Operations Executor
sparql
SPARQL Query Executor
subquery
Subquery Executor
vector
Vector Query Executor
window
Window Functions Executor

Structs§

ExecuteResult
Result of executing a query with mode information
MultiModeExecutor
Multi-mode executor that routes to specialized executors