2021-03-29 15:43:37 +00:00
|
|
|
use crate::dbs::Executor;
|
2021-03-31 12:10:13 +00:00
|
|
|
use crate::dbs::Runtime;
|
2021-03-29 15:43:37 +00:00
|
|
|
use crate::err::Error;
|
|
|
|
use crate::sql::literal::Literal;
|
|
|
|
|
|
|
|
pub struct Iterator {}
|
|
|
|
|
|
|
|
impl Iterator {
|
|
|
|
pub fn new() -> Iterator {
|
|
|
|
Iterator {}
|
|
|
|
}
|
2021-03-31 12:10:13 +00:00
|
|
|
pub fn process_query(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn process_table(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn process_thing(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn process_model(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn process_array(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn process_object(&self, ctx: &Runtime, exe: &Executor) {}
|
|
|
|
pub fn output(&self, ctx: &Runtime, exe: &Executor) -> Result<Literal, Error> {
|
2021-03-29 15:43:37 +00:00
|
|
|
Ok(Literal::Null)
|
|
|
|
}
|
|
|
|
}
|