uqa-engine 0.3.5

Engine: schema-aware table store, catalog restore, transactions
//
// Unified Query Algebra
//
// Copyright (c) 2023-2026 Cognica, Inc.
//

//! Register execution-owned extension contracts in the engine.

pub use uqa_execution::functions::*;

impl uqa_sql::plan::AggregateClassifier for crate::Engine {
    fn is_registered_aggregate(&self, name: &str) -> bool {
        self.has_registered_aggregate_function(name)
    }
}

impl uqa_execution::functions::AggregateFunctionRegistry for crate::Engine {
    fn registered_aggregate_function(
        &self,
        name: &str,
    ) -> Option<std::sync::Arc<dyn SQLAggregateFunction>> {
        self.registered_aggregate_function(name)
    }
}