Re-exports§
pub use executor::base::ExecutionResult;pub use pipeline::QueryPipelineManager;pub use context::QueryContext;pub use context::QueryContextBuilder;pub use context::QueryRequestContext;pub use query_manager::QueryInfo;pub use query_manager::QueryManager;pub use query_manager::QueryProgress;pub use query_manager::QueryProgressCallback;pub use query_manager::QueryStatus;pub use extensions::BinderExtension;pub use extensions::BinderExtensionContext;pub use extensions::ExtensionRegistry;pub use extensions::MapperExtension;pub use extensions::ParserExtension;pub use extensions::PlannerExtension;pub use dml_events::classify_dml;pub use dml_events::DmlOp;pub use dml_events::DmlStatementCallback;pub use dml_events::DmlStatementEvent;pub use session_events::SessionEvent;pub use session_events::SessionEventCallback;pub use optimizer::OptimizerEngine;
Modules§
- attached
- Attached-database catalog.
- binder
- Binder module: AST → BoundStatement conversion with catalog resolution.
- cache
- Query Cache Module
- context
- Query execution context module
- cte
- Common table expression (CTE) name mangling.
- dml_
events - Statement-level DML classification and notification.
- executor
- experimental_
pipeline_ extensions - Unstable alias for the experimental pipeline-extension surface.
- extensions
- Experimental query-pipeline extension points.
- metadata
- Metadata Module
- optimizer
- Query Optimization Module
- parser
- Query parser module for graph database
- pipeline
- planning
- Planner module for generating execution plans from AST Contains the Planner trait, ExecutionPlan structure, and various specific planners
- query_
core - Core Query Module
- query_
manager - Query Manager
- session_
events - storage
Macros§
- define_
all_ plan_ nodes - Generate metadata methods for
PlanNodeEnumfrom a single macro table. - define_
binary_ geography_ fn - Define a geospatial binary function
- define_
binary_ input_ node - Define the macro for the dual-input plan node
- define_
binary_ numeric_ fn - Define a binary numeric operation function
- define_
binary_ string_ bool_ fn - Define a binary string comparison function
- define_
data_ op_ info - Macro to define a data operation info struct with common fields
- define_
datetime_ extractor - Define a function for extracting date and time fields
- define_
edges_ node - Macro to define an edges operation node with common methods
- define_
enum_ as_ methods - Generate a macro for the
as_xxxmethod forPlanNodeEnum - define_
enum_ as_ mut_ methods - Generate a macro for the
as_xxx_mutmethod forPlanNodeEnum - define_
enum_ is_ methods - Generate a macro for the
is_xxxmethod forPlanNodeEnum - define_
function_ enum - Macro for defining an enumeration of built-in functions
- define_
join_ node - Define the macro for connecting nodes
- define_
logical_ binary_ input_ node - define_
logical_ join_ node - define_
logical_ plan_ node - define_
logical_ plan_ node_ with_ deps - define_
plan_ node - Macro for defining plan nodes (ZeroInputNode and MultipleInputNode variants)
- define_
plan_ node_ with_ deps - Define a macro for single-input planning nodes.
- define_
rewrite_ elimination_ rule - Define the elimination rules.
- define_
rewrite_ merge_ rule - Define merge rules
- define_
rewrite_ pushdown_ rule - Define the push-down rule.
- define_
rewrite_ rule - Define the basic rules for rule rewriting.
- define_
rewrite_ rule_ registry - Definition of rules: Registry
- define_
simple_ rewrite_ elimination_ rule - Define a simple elimination rule (which only deletes the current node).
- define_
single_ op_ node - Macro to define a single-target operation node (like UpdateNode)
- define_
stmt_ helpers - Generate
span()andcategory()forStmtfrom a single exhaustive table. - define_
typed_ rewrite_ rule - Define rules that match node types.
- define_
unary_ float_ fn - Define a single-parameter numerical function that returns a Float value.
- define_
unary_ numeric_ fn - Define a single-parameter integer/float function (while preserving the data type)
- define_
unary_ string_ fn - Define a single-parameter string function
- define_
vertices_ node - Macro to define a vertices operation node with common methods
- impl_
default_ estimate_ memory - Macro to implement a default estimate_memory for plan nodes This macro estimates the base struct size and col_names vector
- ng_
ok_ or_ err - Error handling macro variants
- ng_
return_ if_ error - Error handling macros
Structs§
- DataSet
- Simple dataset representation
- Fused
Hit - Fused hit shared by both strategies.
- Query
Error - Query layer error type
- Scored
Hit - One ranked hit from a single retrieval path.
Functions§
- normalize_
vector_ hits - Map one vector hit list to fusion keys, dropping hits that do not belong to the requested index.
- normalize_
vector_ point_ id - Normalize a vector point ID to its vertex document key for fusion.
- rrf_
fuse - Fuse ranked lists with reciprocal rank fusion.
- weighted_
fuse - Fuse one vector list with one fulltext list by weighted sum.
Type Aliases§
- DBResult
- Harmonized result types