Generator

Trait Generator 

Source
pub trait Generator<T, R: Rng> {
    type Error: Sync + Send + Debug;

    // Required method
    fn generate(&self, rng: &mut R) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn generate(&self, rng: &mut R) -> Result<T, Self::Error>

Implementors§

Source§

impl<R: Rng + 'static> Generator<MergePartitionExpr, R> for MergePartitionExprGenerator

Source§

impl<R: Rng + 'static> Generator<SplitPartitionExpr, R> for SplitPartitionExprGenerator

Source§

impl<R: Rng + 'static> Generator<SelectExpr, R> for SelectExprGenerator<R>

Source§

impl<R: Rng + 'static> Generator<AlterTableExpr, R> for AlterExprAddColumnGenerator<R>

Source§

impl<R: Rng + 'static> Generator<CreateDatabaseExpr, R> for CreateDatabaseExprGenerator<R>

Source§

impl<R: Rng + 'static> Generator<CreateTableExpr, R> for CreateLogicalTableExprGenerator<R>

Source§

impl<R: Rng + 'static> Generator<CreateTableExpr, R> for CreatePhysicalTableExprGenerator<R>

Source§

impl<R: Rng + 'static> Generator<CreateTableExpr, R> for CreateTableExprGenerator<R>

Source§

impl<R: Rng + 'static> Generator<InsertIntoExpr, R> for InsertExprGenerator<R>

Source§

impl<R: Rng> Generator<AlterTableExpr, R> for AlterExprDropColumnGenerator<R>

Source§

impl<R: Rng> Generator<AlterTableExpr, R> for AlterExprModifyDataTypeGenerator<R>

Source§

impl<R: Rng> Generator<AlterTableExpr, R> for AlterExprRenameGenerator<R>

Source§

impl<R: Rng> Generator<AlterTableExpr, R> for AlterExprSetTableOptionsGenerator<R>

Source§

impl<R: Rng> Generator<AlterTableExpr, R> for AlterExprUnsetTableOptionsGenerator<R>