mirror of
https://github.com/rustfs/rustfs.git
synced 2026-05-07 23:27:50 +08:00
13 lines
295 B
Rust
13 lines
295 B
Rust
use std::sync::Arc;
|
|
|
|
use datafusion::logical_expr::LogicalPlan;
|
|
|
|
use super::session::SessionCtx;
|
|
use crate::QueryResult;
|
|
|
|
pub type AnalyzerRef = Arc<dyn Analyzer + Send + Sync>;
|
|
|
|
pub trait Analyzer {
|
|
fn analyze(&self, plan: &LogicalPlan, session: &SessionCtx) -> QueryResult<LogicalPlan>;
|
|
}
|