kip-sql 0.0.1-alpha.8

build the SQL layer of KipDB database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::binder::{BindError, Binder};
use crate::planner::operator::show::ShowTablesOperator;
use crate::planner::operator::Operator;
use crate::planner::LogicalPlan;
use crate::storage::Transaction;

impl<'a, T: Transaction> Binder<'a, T> {
    pub(crate) fn bind_show_tables(&mut self) -> Result<LogicalPlan, BindError> {
        let plan = LogicalPlan {
            operator: Operator::Show(ShowTablesOperator {}),
            childrens: vec![],
        };
        Ok(plan)
    }
}