Trait tpctools::Tpc [−][src]
pub trait Tpc { fn generate(
&self,
scale: usize,
partitions: usize,
input_path: &str,
output_path: &str
) -> Result<()>; fn get_table_names(&self) -> Vec<&str>; fn get_schema(&self, table: &str) -> Schema; #[must_use] fn convert_to_parquet<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input_path: &'life1 str,
output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; }
Required methods
fn generate(
&self,
scale: usize,
partitions: usize,
input_path: &str,
output_path: &str
) -> Result<()>
[src]
fn generate(
&self,
scale: usize,
partitions: usize,
input_path: &str,
output_path: &str
) -> Result<()>
[src]fn get_table_names(&self) -> Vec<&str>
[src]
fn get_table_names(&self) -> Vec<&str>
[src]fn get_schema(&self, table: &str) -> Schema
[src]
fn get_schema(&self, table: &str) -> Schema
[src]#[must_use]fn convert_to_parquet<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input_path: &'life1 str,
output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn convert_to_parquet<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input_path: &'life1 str,
output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]Implementors
impl Tpc for TpcDs
[src]
impl Tpc for TpcDs
[src]fn generate(
&self,
scale: usize,
partitions: usize,
generator_path: &str,
output_path: &str
) -> Result<()>
[src]
&self,
scale: usize,
partitions: usize,
generator_path: &str,
output_path: &str
) -> Result<()>
fn get_table_names(&self) -> Vec<&str>
[src]
fn get_schema(&self, _table: &str) -> Schema
[src]
fn convert_to_parquet<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_input_path: &'life1 str,
_output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_input_path: &'life1 str,
_output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl Tpc for TpcH
[src]
impl Tpc for TpcH
[src]fn generate(
&self,
scale: usize,
partitions: usize,
generator_path: &str,
output_path: &str
) -> Result<()>
[src]
&self,
scale: usize,
partitions: usize,
generator_path: &str,
output_path: &str
) -> Result<()>
fn convert_to_parquet<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input_path: &'life1 str,
output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input_path: &'life1 str,
output_path: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,