reddb-io-server 1.1.2

RedDB server-side engine: storage, runtime, replication, MCP, AI, and the gRPC/HTTP/RedWire/PG-wire dispatchers. Re-exported by the umbrella `reddb` crate.
Documentation
//! Query Planning Layer
//!
//! Multi-pass query rewriting and optimization inspired by Neo4j's planning architecture.
//!
//! # Components
//!
//! - **rewriter**: Multi-pass query AST transformation
//! - **cache**: LRU cache for compiled query plans
//! - **cost**: Cost-based plan selection with cardinality estimation
//! - **optimizer**: Query optimization strategies

pub mod cache;
pub mod cache_key;
pub mod cost;
pub mod histogram;
pub mod index_only;
pub mod join_dp;
pub mod optimizer;
pub mod partition_pruning;
pub mod pathkeys;
pub mod projections;
pub mod rewriter;
pub mod shape;
pub mod stats_provider;

mod logical;
pub(crate) mod stats_catalog;
mod types;

pub use cache::{CachedPlan, PlanCache};
pub use cost::{CardinalityEstimate, ColumnStats, CostEstimator, PlanCost, TableStats};
pub use histogram::{Bucket, ColumnValue, Histogram, MostCommonValues};
pub use optimizer::{OptimizationPass, QueryOptimizer};
pub use rewriter::{QueryRewriter, RewriteContext, RewriteRule};
pub use stats_provider::{NullProvider, RegistryProvider, StaticProvider, StatsProvider};
pub use types::{
    build_canonical_plan, AccessPathDecision, CacheStats, CanonicalLogicalNode,
    CanonicalLogicalPlan, CanonicalPlanner, QueryPlan, QueryPlanner,
};