Trait tpctools::Tpc

source ·
pub trait Tpc {
    // Required methods
    fn generate(
        &self,
        scale: usize,
        partitions: usize,
        input_path: &str,
        output_path: &str
    ) -> Result<()>;
    fn get_table_names(&self) -> Vec<&str>;
    fn get_table_ext(&self) -> &str;
    fn get_schema(&self, table: &str) -> Schema;
}

Required Methods§

source

fn generate( &self, scale: usize, partitions: usize, input_path: &str, output_path: &str ) -> Result<()>

source

fn get_table_names(&self) -> Vec<&str>

source

fn get_table_ext(&self) -> &str

source

fn get_schema(&self, table: &str) -> Schema

Implementors§