lance_testing::datagen

Trait ArrayGenerator

Source
pub trait ArrayGenerator {
    // Required methods
    fn generate(&mut self, length: usize) -> Arc<dyn Array>;
    fn data_type(&self) -> &DataType;
    fn name(&self) -> Option<&str>;
}

Required Methods§

Source

fn generate(&mut self, length: usize) -> Arc<dyn Array>

Source

fn data_type(&self) -> &DataType

Source

fn name(&self) -> Option<&str>

Implementors§