reddb-io-types 1.12.0

RedDB logical type system: the neutral keystone vocabulary — Value, DataType, SqlTypeName, TypeModifier, TypeCategory, ValueError, Row — depended on by every authority crate and depending on none.
Documentation
//! Optimizer index-hint AST leaf (ADR 0053, RQL Phase 2 S4b).
//!
//! [`IndexHint`] is referenced by the canonical SQL AST
//! (`ExpandOptions.index_hint`). Only the hint *data* lives here; the optimizer
//! passes that build it stay in the server planner
//! (`storage::query::planner::optimizer`), which keeps a re-export shim.

/// Hint about which index method to prefer for a query
#[derive(Debug, Clone)]
pub struct IndexHint {
    /// Preferred index method
    pub method: IndexHintMethod,
    /// Column the index applies to
    pub column: String,
}

/// Which index method the optimizer recommends
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum IndexHintMethod {
    Hash,
    BTree,
    Bitmap,
    Spatial,
}