mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-28 17:18:58 +00:00
0b270bf0cc
Signed-off-by: junxiang Mu <1948535941@qq.com>
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>;
|
|
}
|