Trait pipeline::etl::transform::Transformer

source ·
pub trait Transformer: Display + Sized + Send + Sync + 'static {
    type Output;
    type VecOutput;

    // Required methods
    fn new(transforms: Transforms) -> Result<Self>;
    fn schemas(&self) -> &Vec<ColumnSchema>;
    fn transforms(&self) -> &Transforms;
    fn transforms_mut(&mut self) -> &mut Transforms;
    fn transform_mut(&self, val: &mut Vec<Value>) -> Result<Self::VecOutput>;
}

Required Associated Types§

Required Methods§

source

fn new(transforms: Transforms) -> Result<Self>

source

fn schemas(&self) -> &Vec<ColumnSchema>

source

fn transforms(&self) -> &Transforms

source

fn transforms_mut(&mut self) -> &mut Transforms

source

fn transform_mut(&self, val: &mut Vec<Value>) -> Result<Self::VecOutput>

Object Safety§

This trait is not object safe.

Implementors§