pub trait Transform {
    fn name(&self) -> String;
    fn add_row(&mut self, headers: &Headers, row: &Row) -> Result<(), Error>;
    fn value(&self) -> String;

    fn hash(
        &self,
        _hasher: &mut DefaultHasher,
        _headers: &Headers,
        _row: &Row
    ) -> Result<(), Error> { ... } }
Expand description

For grouping and reducing rows.

Required Methods§

Get the resulting column name

Combine the row with the value

Turn the current value to a string

Provided Methods§

Add the row to the hasher to group this row separately from others

Implementors§