Skip to main content

cynos_query/executor/
operator.rs

1//! Operator trait for query execution.
2
3use crate::executor::Relation;
4use cynos_core::Result;
5
6/// A query operator that produces a relation.
7pub trait Operator {
8    /// Executes the operator and returns the result relation.
9    fn execute(&self) -> Result<Relation>;
10}