Struct csv_query::executor::Executor [−][src]
pub struct Executor<W: Write> { /* fields omitted */ }
Main struct that parses the CSV and put the data into a SQLite
Methods
impl<W> Executor<W> where
W: Write,
[src]
impl<W> Executor<W> where
W: Write,
pub fn new<R>(readers: Vec<R>, output: W, delimiter: u8) -> Result<Executor<W>> where
R: BufRead,
[src]
pub fn new<R>(readers: Vec<R>, output: W, delimiter: u8) -> Result<Executor<W>> where
R: BufRead,
pub fn write_query_results(&mut self, query: &str) -> Result<()>
[src]
pub fn write_query_results(&mut self, query: &str) -> Result<()>
Run the query and write its result as CSV into the specified output stream